Permalink
Browse files

Oracle Spatial: Include mapows.h (#5373)

mapserver crashed on windows with an Oracle layer (using Oracle plugin)
and "gml_types" "auto"
This was caused by using msOWSLookupMetadata without a prototype
Missing prototype gave following warning during a windows build:
Warning 13 warning C4013: 'msOWSLookupMetadata' undefined; assuming
extern returning int
C:\dev\mapserver-bentley\mapserver\maporaclespatial.c 2949 1
msplugin_oracle
  • Loading branch information...
micking authored and tbonfort committed Mar 20, 2016
1 parent cd36c08 commit 027f421ce8df06331a9cf9d61d55ebd2b1ba6005
Showing with 1 addition and 0 deletions.
  1. +1 −0 maporaclespatial.c
View
@@ -38,6 +38,7 @@
#include "mapserver.h"
#include "maptime.h"
+#include "mapows.h"
#include <assert.h>

0 comments on commit 027f421

Please sign in to comment.