aboutsummaryrefslogtreecommitdiffstats
path: root/extension/fnmatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'extension/fnmatch.c')
-rw-r--r--extension/fnmatch.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/extension/fnmatch.c b/extension/fnmatch.c
index 5382e4bc..9b7640de 100644
--- a/extension/fnmatch.c
+++ b/extension/fnmatch.c
@@ -39,6 +39,12 @@
#include <sys/types.h>
#include <sys/stat.h>
+#ifdef MAJOR_IN_MKDEV
+#include <sys/mkdev.h>
+#elif defined(MAJOR_IN_SYSMACROS)
+#include <sys/sysmacros.h>
+#endif
+
#include "gawkapi.h"
#include "gettext.h"