Skip to content

Commit

Permalink
Oracle Spatial: Include mapows.h (#5373)
Browse files Browse the repository at this point in the history
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 Jan 26, 2017
1 parent cd36c08 commit 027f421
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions maporaclespatial.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@

#include "mapserver.h"
#include "maptime.h"
#include "mapows.h"
#include <assert.h>


Expand Down

0 comments on commit 027f421

Please sign in to comment.