Elementary: include langinfo.h only if it exists
authorVincent Torri <vincent.torri@gmail.com>
Mon, 7 May 2012 19:32:13 +0000 (19:32 +0000)
committerVincent Torri <vincent.torri@gmail.com>
Mon, 7 May 2012 19:32:13 +0000 (19:32 +0000)
SVN revision: 70856

src/lib/elm_priv.h

index c034306..acb0d75 100644 (file)
@@ -15,7 +15,9 @@
 
 #include "elm_widget.h"
 
-#include <langinfo.h>
+#ifdef HAVE_LANGINFO_H
+# include <langinfo.h>
+#endif
 
 #define CRITICAL(...) EINA_LOG_DOM_CRIT(_elm_log_dom, __VA_ARGS__)
 #define ERR(...)      EINA_LOG_DOM_ERR (_elm_log_dom, __VA_ARGS__)