From 2e77bd70faee34cb2518529318a54b39f2d9143e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 18 Jul 2014 12:54:30 +0200 Subject: [PATCH] Better fix for strcasecmp on Darwin --- src/libutil/archive.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/libutil/archive.cc b/src/libutil/archive.cc index bef0f4d57..5450fd2f7 100644 --- a/src/libutil/archive.cc +++ b/src/libutil/archive.cc @@ -7,9 +7,7 @@ #include #include -#define _DARWIN_C_SOURCE // hack to get strcasecmp on old Darwin versions -#include -#undef _DARWIN_C_SOURCE +#include // for strcasecmp #include #include