From: Paul Ramsey <pramsey@cleverelephant.ca>
Date: Fri, 21 Nov 2003 23:51:14 +0000 (+0000)
Subject: Added Cygwin endian definition include to fix windows compile.
X-Git-Tag: pgis_0_8_0~1
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae5cd609a4fea6286e602a3d5f1575e9ba56ac9d;p=postgis

Added Cygwin endian definition include to fix windows compile.


git-svn-id: http://svn.osgeo.org/postgis/trunk@381 b70326c6-7e19-0410-871a-916f4a2858ee
---

diff --git a/loader/pgsql2shp.c b/loader/pgsql2shp.c
index b684588f0..4f2fb4742 100644
--- a/loader/pgsql2shp.c
+++ b/loader/pgsql2shp.c
@@ -10,6 +10,9 @@
  * 
  **********************************************************************
  * $Log$
+ * Revision 1.29  2003/11/21 23:51:14  pramsey
+ * Added Cygwin endian definition include to fix windows compile.
+ *
  * Revision 1.28  2003/11/20 18:01:26  strk
  * patch from m.spring@gmx.de
  *
@@ -59,6 +62,10 @@
 #include "shapefil.h"
 #include "getopt.h"
 
+#ifdef __CYGWIN__
+#include <sys/param.h>       
+#endif
+
 #define	POINTTYPE	1
 #define	LINETYPE	2
 #define	POLYGONTYPE	3