From dada40735b606bfcb8e5b55e437e5f3f85507961 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Fri, 20 Feb 2015 22:02:22 +0000 Subject: [PATCH] #include header on OS X --- src/ifcparse/IfcParse.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ifcparse/IfcParse.cpp b/src/ifcparse/IfcParse.cpp index 86e88bb523..d00bda2049 100644 --- a/src/ifcparse/IfcParse.cpp +++ b/src/ifcparse/IfcParse.cpp @@ -53,6 +53,9 @@ void init_locale() { } } #else +#ifdef __APPLE__ +#include +#endif static locale_t locale = (locale_t) 0; void init_locale() { if (locale == (locale_t) 0) {