mirror of
https://github.com/samba-team/samba.git
synced 2025-01-01 21:18:10 +03:00
r18958: merge from samba4:
we need to include unistd.h in system/network.h because it contains the ioctl() prototype on some systems and we need to make sure it gets included before socket_wrapper defines ioctl swrap_ioctl metze
This commit is contained in:
parent
aafb86f6eb
commit
d827534760
@ -66,6 +66,10 @@
|
||||
#include <net/if.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_IOCTL_H
|
||||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user