diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libutil/archive.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libutil/archive.cc b/src/libutil/archive.cc index 00c9ae3c7c4c..bef0f4d578b2 100644 --- a/src/libutil/archive.cc +++ b/src/libutil/archive.cc @@ -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> |