PROJ_LIB: Fix detection code

.sconf_temp/conftest_24.cpp:30:42: error: use of undeclared identifier 'strlen'
This commit is contained in:
Raul Marin 2018-02-20 14:24:06 +01:00
parent cdb301b357
commit b77ad659d8

View file

@ -867,6 +867,7 @@ def CheckProjData(context, silent=False):
// This is narly, could eventually be replaced using https://github.com/OSGeo/proj.4/pull/551] // This is narly, could eventually be replaced using https://github.com/OSGeo/proj.4/pull/551]
#include <proj_api.h> #include <proj_api.h>
#include <iostream> #include <iostream>
#include <cstring>
static void my_proj4_logger(void * user_data, int /*level*/, const char * msg) static void my_proj4_logger(void * user_data, int /*level*/, const char * msg)
{ {