From bd09a82b5ebe5746af41efa257338fbef0b8cdee Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Fri, 6 Mar 2015 14:13:52 +0000 Subject: [PATCH] Remove un-used pgsql headers git-svn-id: http://svn.osgeo.org/postgis/trunk@13321 b70326c6-7e19-0410-871a-916f4a2858ee --- postgis/lwgeom_geos.c | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/postgis/lwgeom_geos.c b/postgis/lwgeom_geos.c index 825d1897c..5d15919e2 100644 --- a/postgis/lwgeom_geos.c +++ b/postgis/lwgeom_geos.c @@ -12,19 +12,13 @@ * **********************************************************************/ -/* 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 -#include - /* Return NULL on GEOS error * * Prints error message only if it was not for interruption, in which -- 2.40.0