From a89622fa57b3cf74e96b9f04c9cae897498155e9 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Thu, 28 Dec 2017 20:15:50 +0200 Subject: Get rid of GLIBC/compile warnings on Fedora in extension directory. --- extension/fnmatch.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'extension/fnmatch.c') 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 #include -#include #include -#ifdef MAJOR_IN_MKDEV -#include -#elif defined(MAJOR_IN_SYSMACROS) +#if HAVE_SYS_SYSMACROS_H #include -#endif +#elif HAVE_SYS_MKDEV_H +#include +#endif /* HAVE_SYS_MKDEV_H */ + +#include #include "gawkapi.h" -- cgit v1.2.3