Skip to content

Commit ab6a232

Browse files
committed
fix windows build of grass fake library
1 parent 0e7b60e commit ab6a232

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/providers/grass/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,7 @@ SET ( PROTOTYPES "// Auto generated by cmake, do not edit\n" )
438438
LIST ( APPEND PROTOTYPES "#define GRASS_GISDEFS_H\n" )
439439
LIST ( APPEND PROTOTYPES "extern \"C\"\n" )
440440
LIST ( APPEND PROTOTYPES "{\n" )
441+
LIST ( APPEND PROTOTYPES "#include <sys/types.h>\n" )
441442
LIST ( APPEND PROTOTYPES "#include <grass/gis.h>\n" )
442443
#LIST ( APPEND PROTOTYPES "int GRASS_LIB_EXPORT G_set_error_routine(int (*)(const char *, int))\;\n" )
443444

0 commit comments

Comments
 (0)