Commit 0500a1bd authored by Aaron Dierking's avatar Aaron Dierking Committed by Guillem Jover

Don't require <grp.h>

This is only used in the overlay test and Windows does not provide it.
Signed-off-by: Guillem Jover's avatarGuillem Jover <guillem@hadrons.org>
parent 3d9c6c08
......@@ -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
......
......@@ -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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment