]> The Tcpdump Group git mirrors - libpcap/commitdiff
(MSG_TRUNC): define if it's not defined. From Love
authorassar <assar>
Tue, 11 Jul 2000 01:06:27 +0000 (01:06 +0000)
committerassar <assar>
Tue, 11 Jul 2000 01:06:27 +0000 (01:06 +0000)
<[email protected]>

pcap-linux.c

index e792ba69b21d1fd57bad554d4138c794edeb2261..c5f1d7928f9053991b0b934b7af2707aab960c82 100644 (file)
@@ -75,6 +75,9 @@
 
 #ifndef __GLIBC__
 typedef int            socklen_t;
+#endif
+
+#ifndef MSG_TRUNC
 #define MSG_TRUNC      0
 #endif