From 8ddffe7aac414756809f43732effb8951858243b Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 17 Jul 2014 23:57:17 +0200 Subject: Ugly hack to fix building on old Darwin http://hydra.nixos.org/build/12580878 --- src/libutil/archive.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/libutil') 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 #include #include + +#define _DARWIN_C_SOURCE // hack to get strcasecmp on old Darwin versions #include +#undef _DARWIN_C_SOURCE #include #include -- cgit 1.4.1