mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +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 used to be commit d827534760
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
3da1690692
commit
6aed2cd44e
@ -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
|
||||
|
Reference in New Issue
Block a user