diff options
Diffstat (limited to 'src/libutil/archive.cc')
-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 00c9ae3c7..bef0f4d57 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> |