summaryrefslogtreecommitdiff
blob: 59b6758148143b4d5d7d906267f89a359a23c19b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- a/configure.ac
+++ b/configure.ac
@@ -35,6 +35,7 @@
 stdlib.h \
 sys/socket.h \
 time.h \
+grp.h \
 sys/time.h \
 sys/types.h \
 sys/capability.h \
--- a/src/arping.c
+++ b/src/arping.c
@@ -98,6 +98,10 @@
 #endif
 #include <pcap.h>
 
+#if HAVE_GRP_H
+#include <grp.h>
+#endif
+
 #include "arping.h"
 
 #ifndef ETH_ALEN