jer         15/04/25 12:10:38

  Added:                arping-2.15-setgroups.patch
  Log:
  Fix includes for setgroups.
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.1                  net-analyzer/arping/files/arping-2.15-setgroups.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/arping/files/arping-2.15-setgroups.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/arping/files/arping-2.15-setgroups.patch?rev=1.1&content-type=text/plain

Index: arping-2.15-setgroups.patch
===================================================================
--- 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




Reply via email to