Fix _socket compilation failures on non-Linux buildbots (cf. issue #1746656).

This commit is contained in:
Nadeem Vawda 2011-05-15 13:16:22 +02:00
parent aedb2823fd
commit d74b5936a1
4 changed files with 9 additions and 3 deletions

View file

@ -59,9 +59,12 @@ typedef int socklen_t;
#include <bluetooth.h>
#endif
#ifdef HAVE_NET_IF_H
# include <net/if.h>
#endif
#ifdef HAVE_NETPACKET_PACKET_H
# include <sys/ioctl.h>
# include <net/if.h>
# include <netpacket/packet.h>
#endif