diff options
author | Tom Lane | 2005-07-11 15:07:59 +0000 |
---|---|---|
committer | Tom Lane | 2005-07-11 15:07:59 +0000 |
commit | e997758cb67526549b56a89658f7a42104716cf0 (patch) | |
tree | 25704e6e929bc209281b1859917be9935e4007b0 /contrib/pgcrypto/random.c | |
parent | 3c52d17fa66ab1ac447fcc052df9dde470d5b195 (diff) |
More pgcrypto fixes: avoid bogus alignment assumptions in sha2,
be more wary about having a value for BYTE_ORDER, clean up randomly-
chosen ways of including Postgres core headers.
Marko Kreen and Tom Lane
Diffstat (limited to 'contrib/pgcrypto/random.c')
-rw-r--r-- | contrib/pgcrypto/random.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/contrib/pgcrypto/random.c b/contrib/pgcrypto/random.c index 0aa4aa2836c..019ac3c9a3c 100644 --- a/contrib/pgcrypto/random.c +++ b/contrib/pgcrypto/random.c @@ -26,11 +26,10 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $PostgreSQL: pgsql/contrib/pgcrypto/random.c,v 1.11 2005/07/10 03:55:28 momjian Exp $ + * $PostgreSQL: pgsql/contrib/pgcrypto/random.c,v 1.12 2005/07/11 15:07:59 tgl Exp $ */ - -#include <postgres.h> +#include "postgres.h" #include "px.h" @@ -49,7 +48,6 @@ #define TRY_DEV_RANDOM -#include <errno.h> #include <fcntl.h> #include <unistd.h> |