diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-18T10·54+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-18T10·54+0200 |
commit | 2e77bd70faee34cb2518529318a54b39f2d9143e (patch) | |
tree | 4aa97d13a8d3da2eff99df51127aa46d4d245e12 | |
parent | f609eec71a25a9bb8c32dd9620b7deb88633a22a (diff) |
Better fix for strcasecmp on Darwin
-rw-r--r-- | src/libutil/archive.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libutil/archive.cc b/src/libutil/archive.cc index bef0f4d578b2..5450fd2f7182 100644 --- a/src/libutil/archive.cc +++ b/src/libutil/archive.cc @@ -7,9 +7,7 @@ #include <vector> #include <map> -#define _DARWIN_C_SOURCE // hack to get strcasecmp on old Darwin versions -#include <cstring> -#undef _DARWIN_C_SOURCE +#include <strings.h> // for strcasecmp #include <sys/types.h> #include <sys/stat.h> |