Recently was uncovered that pgcrypto does not include
right header file to get BYTE_ORDER define on Cygwin
and MINGW, and the missing define does not result in
build failures, but random combinations of little and
big-endian code sections.
This patch adds missing sys/param.h include for md5.c,
sha1.c and rijndael.c plus also check to catch undefined
The patch applies cleanly and is tested on branches
for versions 7.2, 7.3, 7.4 and 8.0. There are also
no failures on buildfarm for HEAD, where this patch
is already included.
pgsql-patches by date
|Next:||From: Andrew Dunstan||Date: 2005-07-13 15:05:00|
|Subject: Re: [PATCHES] HEAD doesn't cope with libraries in non-default|
|Previous:||From: Bruce Momjian||Date: 2005-07-13 04:23:27|
|Subject: Re: Doc patch: New PL/Perl Features|