瀏覽代碼

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 年之前
父節點
當前提交
f8eafa97d7
共有 2 個文件被更改,包括 4 次插入0 次删除
  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