From: Sandro Santilli Date: Tue, 17 Feb 2015 10:42:51 +0000 (+0000) Subject: Fix another typo in recent rewrite of message handlers X-Git-Tag: 2.2.0rc1~672 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f0d8e9934a058664114c488fb3c944c094025555;p=postgis Fix another typo in recent rewrite of message handlers git-svn-id: http://svn.osgeo.org/postgis/trunk@13225 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/loader/shp2pgsql-gui.c b/loader/shp2pgsql-gui.c index 42d18bcb4..a5923f713 100644 --- a/loader/shp2pgsql-gui.c +++ b/loader/shp2pgsql-gui.c @@ -27,6 +27,8 @@ #include "shp2pgsql-core.h" #include "pgsql2shp-core.h" +#include "../liblwgeom/liblwgeom.h" /* for lw_asprintf */ + #define GUI_RCSID "shp2pgsql-gui $Revision$" #define SHAPEFIELDMAXWIDTH 60 @@ -205,7 +207,7 @@ enum /* Other */ #define GUIMSG_LINE_MAXLEN 256 -static char *pgui_errmsg[GUIMSG_LINE_MAXLEN+1]; +static char pgui_errmsg[GUIMSG_LINE_MAXLEN+1]; static PGconn *pg_connection = NULL; static SHPCONNECTIONCONFIG *conn = NULL; static SHPLOADERCONFIG *global_loader_config = NULL;