From: Bruce Momjian Date: Fri, 30 Nov 2001 17:39:20 +0000 (+0000) Subject: * include is not enough, include sys/types.h too X-Git-Tag: REL7_2_BETA4~86 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f73bb4da96acd523080c70d7cd50a1084b84225;p=postgresql * include is not enough, include sys/types.h too everywhere. At least it was now detected correctly. marko --- diff --git a/contrib/pgcrypto/crypt-des.c b/contrib/pgcrypto/crypt-des.c index dc14ceae66..cadbcfd182 100644 --- a/contrib/pgcrypto/crypt-des.c +++ b/contrib/pgcrypto/crypt-des.c @@ -64,7 +64,6 @@ #include "px-crypt.h" /* for ntohl/htonl */ -#include #include #define _PASSWORD_EFMT1 '_' diff --git a/contrib/pgcrypto/px.h b/contrib/pgcrypto/px.h index 570dadf919..e000883d39 100644 --- a/contrib/pgcrypto/px.h +++ b/contrib/pgcrypto/px.h @@ -26,12 +26,13 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: px.h,v 1.6 2001/11/29 19:40:37 momjian Exp $ + * $Id: px.h,v 1.7 2001/11/30 17:39:20 momjian Exp $ */ #ifndef __PX_H #define __PX_H +#include #ifdef HAVE_ENDIAN_H #include #endif