From ea2fa32eff17b8ac2b51c0d4dafe43a9f2c5d014 Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Tue, 25 Mar 1997 08:25:47 +0000 Subject: Rather than make this a Linux test, we should just test for the existence of endian.h. I figure that if it exists it's pretty sure that it has the byte order information and we may catch some other ports without any further testing. From: "D'Arcy J.M. Cain" --- src/backend/libpq/pqcomprim.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/backend/libpq/pqcomprim.c') diff --git a/src/backend/libpq/pqcomprim.c b/src/backend/libpq/pqcomprim.c index ba1bfe365f0..ee3586fa606 100644 --- a/src/backend/libpq/pqcomprim.c +++ b/src/backend/libpq/pqcomprim.c @@ -1,6 +1,10 @@ #include #include +#ifdef HAVE_ENDIAN_H +# include +#endif + #include "postgres.h" #include "libpq/pqcomm.h" -- cgit v1.2.3