]> granicus.if.org Git - postgis/commitdiff
Remove un-used pgsql headers
authorPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 6 Mar 2015 14:13:52 +0000 (14:13 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 6 Mar 2015 14:13:52 +0000 (14:13 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13321 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/lwgeom_geos.c

index 825d1897c19c13d0c445e577aa725ad4717ba955..5d15919e291c649abb6eb0b9d8bf4bec131bb654 100644 (file)
  *
  **********************************************************************/
 
-/* TODO: we probaby don't need _all_ these pgsql headers */
+#include "../postgis_config.h"
+
+/* PostgreSQL */
 #include "postgres.h"
-#include "fmgr.h"
-#include "miscadmin.h"
+#include "funcapi.h"
 #include "utils/array.h"
-
 #include "utils/builtins.h"
-#include "utils/hsearch.h"
-#include "utils/memutils.h"
-#include "executor/spi.h"
-#include "funcapi.h"
-
-#include "../postgis_config.h"
 
 #if POSTGIS_PGSQL_VERSION >= 93
 #include "access/htup_details.h"
@@ -32,6 +26,7 @@
 #include "access/htup.h"
 #endif
 
+/* PostGIS */
 #include "lwgeom_functions_analytic.h" /* for point_in_polygon */
 #include "lwgeom_geos.h"
 #include "liblwgeom.h"
@@ -39,9 +34,6 @@
 #include "lwgeom_geos_prepared.h" 
 
 
-#include <string.h>
-#include <assert.h>
-
 /* Return NULL on GEOS error
  *
  * Prints error message only if it was not for interruption, in which