mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
Fix _socket compilation failures on non-Linux buildbots (cf. issue #1746656).
This commit is contained in:
parent
aedb2823fd
commit
d74b5936a1
4 changed files with 9 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue