1
0
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:
Stefan Metzmacher 2006-09-27 14:18:08 +00:00 committed by Gerald (Jerry) Carter
parent aafb86f6eb
commit d827534760

View File

@ -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