]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
cygwin defines BYTE_ORDER in sys/param.h, and has no endian.h ...
authorMarc G. Fournier <scrappy@hub.org>
Sun, 12 Sep 1999 22:25:32 +0000 (22:25 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Sun, 12 Sep 1999 22:25:32 +0000 (22:25 +0000)
src/backend/libpq/pqformat.c

index 529b3115bdde1365d6a1cf556ee762b143c3f088..0fc4703ef85e9a2d6357d800c4f19ae382d57395 100644 (file)
@@ -15,7 +15,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- *     $Id: pqformat.c,v 1.4 1999/05/25 16:09:02 momjian Exp $
+ *     $Id: pqformat.c,v 1.4.2.1 1999/09/12 22:25:32 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -54,6 +54,9 @@
 #ifdef HAVE_ENDIAN_H
 #include <endian.h>
 #endif
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
 
 #ifndef BYTE_ORDER
 #error BYTE_ORDER must be defined as LITTLE_ENDIAN, BIG_ENDIAN or PDP_ENDIAN