diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2020-07-18 17:21:09 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2020-07-27 13:43:23 +0000 |
commit | 03aa12c75e117acb0d160212536f6f832e0dc8d9 (patch) | |
tree | c4dfb1113b662b8d0dbe6cd3840b08976c9334c5 /src/fccache.c | |
parent | 9bc88933b23d413885c121d5cf4c78fdeed1edfc (diff) | |
download | fontconfig-03aa12c75e117acb0d160212536f6f832e0dc8d9.tar.gz |
Guard dirent.h includes
Might not be available on Windows.
Diffstat (limited to 'src/fccache.c')
-rw-r--r-- | src/fccache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fccache.c b/src/fccache.c index c3e6364..d10f249 100644 --- a/src/fccache.c +++ b/src/fccache.c @@ -25,7 +25,9 @@ #include <stdio.h> #include <stdlib.h> #include <fcntl.h> +#ifdef HAVE_DIRENT_H #include <dirent.h> +#endif #include <string.h> #include <limits.h> #include <sys/types.h> |