mirror of
https://github.com/samba-team/samba.git
synced 2025-02-10 13:57:47 +03:00
r18957: 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 used to be commit f37b13cbe65404f27d31b8020afb2f542313f4d3)
This commit is contained in:
parent
c09504ac33
commit
c0c135c774
@ -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…
x
Reference in New Issue
Block a user