From 6aed2cd44e33cb10f52a41acd06c99d8b23df501 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 27 Sep 2006 14:18:08 +0000 Subject: 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 d8275347606cd183caea69837fd765b96d4bab71) --- source3/lib/replace/system/network.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source3/lib/replace/system/network.h b/source3/lib/replace/system/network.h index a21f8e2eaf..5e648dcd15 100644 --- a/source3/lib/replace/system/network.h +++ b/source3/lib/replace/system/network.h @@ -66,6 +66,10 @@ #include #endif +#ifdef HAVE_UNISTD_H +#include +#endif + #ifdef HAVE_SYS_IOCTL_H #include #endif -- cgit