Better fix for strcasecmp on Darwin

This commit is contained in:
Eelco Dolstra 2014-07-18 12:54:30 +02:00
parent f609eec71a
commit 2e77bd70fa

View file

@ -7,9 +7,7 @@
#include <vector>
#include <map>
#define _DARWIN_C_SOURCE // hack to get strcasecmp on old Darwin versions
#include <cstring>
#undef _DARWIN_C_SOURCE
#include <strings.h> // for strcasecmp
#include <sys/types.h>
#include <sys/stat.h>