diff options
Diffstat (limited to 'fc-cache')
-rw-r--r-- | fc-cache/fc-cache.c | 4 | ||||
-rw-r--r-- | fc-cache/meson.build | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c index 2e4eeb2..a99adba 100644 --- a/fc-cache/fc-cache.c +++ b/fc-cache/fc-cache.c @@ -66,6 +66,10 @@ #define O_BINARY 0 #endif +#ifndef S_ISDIR +#define S_ISDIR(m) (((m) & _S_IFMT) == _S_IFDIR) +#endif + #ifndef HAVE_GETOPT #define HAVE_GETOPT 0 #endif diff --git a/fc-cache/meson.build b/fc-cache/meson.build new file mode 100644 index 0000000..9e0fe72 --- /dev/null +++ b/fc-cache/meson.build @@ -0,0 +1,8 @@ +fccache = executable('fc-cache', ['fc-cache.c', fcstdint_h, alias_headers, ft_alias_headers], + include_directories: [incbase, incsrc], + link_with: [libfontconfig], + c_args: c_args, + install: true, +) + +tools_man_pages += ['fc-cache'] |