Browse Source

vlib: fix compilation issue when configured without GDAL

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58294 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 11 years ago
parent
commit
f8eafa97d7
2 changed files with 4 additions and 0 deletions
  1. 2 0
      lib/vector/Vlib/read_pg.c
  2. 2 0
      lib/vector/Vlib/rewind_pg.c

+ 2 - 0
lib/vector/Vlib/read_pg.c

@@ -29,6 +29,8 @@
 #include <grass/dbmi.h>
 #include <grass/glocale.h>
 
+#include "local_proto.h"
+
 #ifdef HAVE_POSTGRES
 #include "pg_local_proto.h"
 

+ 2 - 0
lib/vector/Vlib/rewind_pg.c

@@ -16,6 +16,8 @@
 #include <grass/vector.h>
 #include <grass/glocale.h>
 
+#include "local_proto.h"
+
 #ifdef HAVE_POSTGRES
 #include "pg_local_proto.h"
 #endif