From 0500a1bd086d2d6fe974e7ded7ea615594f1f7b0 Mon Sep 17 00:00:00 2001 From: Aaron Dierking Date: Thu, 14 Jun 2018 11:38:32 -0700 Subject: [PATCH] Don't require This is only used in the overlay test and Windows does not provide it. Signed-off-by: Guillem Jover --- configure.ac | 2 +- test/overlay.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 55fcfe6..7769182 100644 --- a/configure.ac +++ b/configure.ac @@ -59,7 +59,7 @@ AS_CASE([$host_os], ) # Checks for header files. -AC_CHECK_HEADERS([sys/ndir.h sys/dir.h ndir.h dirent.h]) +AC_CHECK_HEADERS([sys/ndir.h sys/dir.h ndir.h dirent.h grp.h]) # Checks for typedefs, structures, and compiler characteristics. AC_C_INLINE diff --git a/test/overlay.c b/test/overlay.c index 7812fcc..a17904f 100644 --- a/test/overlay.c +++ b/test/overlay.c @@ -28,7 +28,9 @@ * other headers through magic macros, to check that the overlay is working * properly. */ #include +#ifdef HAVE_GRP_H #include +#endif #include /* Include libbsd overlayed headers that might get partially included. */