diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-12-28 20:51:34 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-12-28 20:51:34 +0200 |
commit | 18906a48d06521c9bbd77ffe6c3dbf9498ca5b20 (patch) | |
tree | affbe2c45bc4d3f88d53fa14f7f5fde02f3ad463 /extension/fnmatch.c | |
parent | 348c16bbdf8c1599188d7f60e9e9ff58fa9e7484 (diff) | |
parent | 57801f2be5b7548e2dba148a54c0b0542a4240c7 (diff) | |
download | egawk-18906a48d06521c9bbd77ffe6c3dbf9498ca5b20.tar.gz egawk-18906a48d06521c9bbd77ffe6c3dbf9498ca5b20.tar.bz2 egawk-18906a48d06521c9bbd77ffe6c3dbf9498ca5b20.zip |
Merge branch 'master' into feature/fix-comments
Diffstat (limited to 'extension/fnmatch.c')
-rw-r--r-- | extension/fnmatch.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/extension/fnmatch.c b/extension/fnmatch.c index 9b7640de..5119bfda 100644 --- a/extension/fnmatch.c +++ b/extension/fnmatch.c @@ -36,14 +36,15 @@ #include <string.h> #include <unistd.h> -#include <sys/types.h> #include <sys/stat.h> -#ifdef MAJOR_IN_MKDEV -#include <sys/mkdev.h> -#elif defined(MAJOR_IN_SYSMACROS) +#if HAVE_SYS_SYSMACROS_H #include <sys/sysmacros.h> -#endif +#elif HAVE_SYS_MKDEV_H +#include <sys/mkdev.h> +#endif /* HAVE_SYS_MKDEV_H */ + +#include <sys/types.h> #include "gawkapi.h" |