]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-linux.c
From Kris Katterjohn: explicitly check for socklen_t, don't just assume
[libpcap] / pcap-linux.c
index 3fb881bf83942e83537ea278938c72cbd7a4138f..70c889e6670eb06ea24d4346ce832a624e6f952b 100644 (file)
@@ -34,7 +34,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/libpcap/pcap-linux.c,v 1.129.2.9 2008-02-08 01:36:39 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/libpcap/pcap-linux.c,v 1.129.2.10 2008-03-14 09:13:33 guy Exp $ (LBL)";
 #endif
 
 /*
@@ -174,7 +174,7 @@ static const char rcsid[] _U_ =
 #include <linux/filter.h>
 #endif
 
-#ifndef __GLIBC__
+#ifndef HAVE_SOCKLEN_T
 typedef int            socklen_t;
 #endif