]> granicus.if.org Git - postgis/commitdiff
Removed useless network type includes,
authorSandro Santilli <strk@keybit.net>
Mon, 25 Oct 2004 12:27:33 +0000 (12:27 +0000)
committerSandro Santilli <strk@keybit.net>
Mon, 25 Oct 2004 12:27:33 +0000 (12:27 +0000)
Added param.h include for BYTE_ORDER defines under win32.

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

lwgeom/lwgeom_inout.c
lwgeom/wktunparse.c

index 653bb6977ddb4b8a003be4fcb5e07a598ed040e2..01895a67e27126574f96ee5e04495ae1df2a3541 100644 (file)
@@ -5,6 +5,8 @@
 #include <string.h>
 #include <stdio.h>
 #include <errno.h>
+#include <sys/param.h>
+#include <sys/types.h>
 
 #include "access/gist.h"
 #include "access/itup.h"
index e55a45ed08ecd247733f52b5f249a3c4ab4c7ed9..a76f624a5ced19aed51c211b160609bf196c8ba5 100644 (file)
 #include <stdio.h>
 //TO get byte order
 #include <sys/types.h>
-#include <netinet/in.h>
-#include <netinet/in_systm.h>
-#include <netinet/ip.h>
+#include <sys/param.h>
+//#include <netinet/in.h>
+//#include <netinet/in_systm.h>
+//#include <netinet/ip.h>
 
 #include "liblwgeom.h"
 
@@ -557,6 +558,10 @@ unparse_WKB(byte* serialized, allocator alloc, freeor free, unsigned int endian)
 
 /******************************************************************
  * $Log$
+ * Revision 1.13  2004/10/25 12:27:33  strk
+ * Removed useless network type includes,
+ * Added param.h include for BYTE_ORDER defines under win32.
+ *
  * Revision 1.12  2004/10/21 19:48:34  strk
  * Stricter syntax fixes. Reported by Sébastien NICAISE <snicaise@iciatechnologies.com>
  *