Elementary: include langinfo.h only if it exists

SVN revision: 70856
This commit is contained in:
Vincent Torri 2012-05-07 19:32:13 +00:00
parent cd2202140d
commit d141786fbc
1 changed files with 3 additions and 1 deletions

View 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__)