From: assar Date: Tue, 11 Jul 2000 01:06:27 +0000 (+0000) Subject: (MSG_TRUNC): define if it's not defined. From Love X-Git-Tag: libpcap-0.6.1~124 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/b59cd6dc3cb8d2bf6e98c664dbf19f73dbc3b275 (MSG_TRUNC): define if it's not defined. From Love --- diff --git a/pcap-linux.c b/pcap-linux.c index e792ba69..c5f1d792 100644 --- a/pcap-linux.c +++ b/pcap-linux.c @@ -75,6 +75,9 @@ #ifndef __GLIBC__ typedef int socklen_t; +#endif + +#ifndef MSG_TRUNC #define MSG_TRUNC 0 #endif