mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
Ugly hack to fix building on old Darwin
http://hydra.nixos.org/build/12580878
This commit is contained in:
parent
049c0eb49c
commit
8ddffe7aac
1 changed files with 3 additions and 0 deletions
|
@ -6,7 +6,10 @@
|
|||
#include <algorithm>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
#define _DARWIN_C_SOURCE // hack to get strcasecmp on old Darwin versions
|
||||
#include <cstring>
|
||||
#undef _DARWIN_C_SOURCE
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
|
Loading…
Reference in a new issue