summaryrefslogtreecommitdiff
path: root/src/lib/elementary/Elementary.h
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2021-05-05 10:22:25 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-05-05 10:22:25 +0100
commit032e86f4aaf4d7972477849bb372da4a3c0ea8ea (patch)
tree26f8c44703b78fd85e3b726d89f5a8c88eadbe6d /src/lib/elementary/Elementary.h
parent6297159c5df53608bca7a31d5d43e44cbb13667a (diff)
Elementary: include fnmatch.h only on non Windows OS
Summary: Windows has no fnmatch.h, so usage of Elementary on that OS will fail Reviewers: raster Reviewed By: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12268
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/Elementary.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/elementary/Elementary.h b/src/lib/elementary/Elementary.h
index 8e8c198829..a64406de43 100644
--- a/src/lib/elementary/Elementary.h
+++ b/src/lib/elementary/Elementary.h
@@ -20,7 +20,9 @@
20#include <sys/time.h> 20#include <sys/time.h>
21#include <sys/param.h> 21#include <sys/param.h>
22#include <math.h> 22#include <math.h>
23#include <fnmatch.h> 23#ifndef _WIN32
24# include <fnmatch.h>
25#endif
24#include <limits.h> 26#include <limits.h>
25#include <ctype.h> 27#include <ctype.h>
26#include <time.h> 28#include <time.h>