summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAaron Dierking <aarond@fb.com>2018-06-14 11:38:32 -0700
committerGuillem Jover <guillem@hadrons.org>2018-06-18 04:31:00 +0200
commit0500a1bd086d2d6fe974e7ded7ea615594f1f7b0 (patch)
tree9ded341facf1aa7813dbf06fa4581da3eab371fc /test
parent3d9c6c08ed254cfe16fc53867b1fe6f12031873c (diff)
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>
Diffstat (limited to 'test')
-rw-r--r--test/overlay.c2
1 files changed, 2 insertions, 0 deletions
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 <errno.h>
+#ifdef HAVE_GRP_H
#include <grp.h>
+#endif
#include <stdint.h>
/* Include libbsd overlayed headers that might get partially included. */