Don't require <grp.h>

This is only used in the overlay test and Windows does not provide it.

Signed-off-by: Guillem Jover <guillem@hadrons.org>
This commit is contained in:
Aaron Dierking 2018-06-14 11:38:32 -07:00 committed by Guillem Jover
parent 3d9c6c08ed
commit 0500a1bd08
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -28,7 +28,9 @@
* other headers through magic macros, to check that the overlay is working
* properly. */
#include <errno.h>
#ifdef HAVE_GRP_H
#include <grp.h>
#endif
#include <stdint.h>
/* Include libbsd overlayed headers that might get partially included. */