diff options
Diffstat (limited to 'extension/filefuncs.c')
-rw-r--r-- | extension/filefuncs.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/extension/filefuncs.c b/extension/filefuncs.c index 38542115..64016402 100644 --- a/extension/filefuncs.c +++ b/extension/filefuncs.c @@ -72,17 +72,17 @@ #include <string.h> #include <unistd.h> -#include <sys/types.h> - #ifdef HAVE_SYS_PARAM_H #include <sys/param.h> #endif /* HAVE_SYS_PARAM_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 <sys/stat.h> |