forked from lix-project/lix
Ugly hack to fix building on old Darwin
http://hydra.nixos.org/build/12580878
This commit is contained in:
parent
049c0eb49c
commit
8ddffe7aac
|
@ -6,7 +6,10 @@
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
||||||
|
#define _DARWIN_C_SOURCE // hack to get strcasecmp on old Darwin versions
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
#undef _DARWIN_C_SOURCE
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
Loading…
Reference in a new issue