diff options
author | Marc G. Fournier <scrappy@hub.org> | 1999-09-12 22:25:32 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1999-09-12 22:25:32 +0000 |
commit | 6592a8aaa4793631d8908eb4a3c6f8802a28c7ba (patch) | |
tree | 6a4f97a67d794af31c0e7c23bb370387662d8ada | |
parent | 805ee87b7d90fe6ba61585967cdf785edfde8d45 (diff) |
cygwin defines BYTE_ORDER in sys/param.h, and has no endian.h ...
-rw-r--r-- | src/backend/libpq/pqformat.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/backend/libpq/pqformat.c b/src/backend/libpq/pqformat.c index 529b3115bdd..0fc4703ef85 100644 --- a/src/backend/libpq/pqformat.c +++ b/src/backend/libpq/pqformat.c @@ -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 |