X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=lib%2Fsocket.c;h=b14231e84129f2d67980a93177e4a415a2023b03;hb=0c1a9d7a6b0dd2ff09868a99141ed1fc98533d22;hp=66e1021c5892d52bbd3933318eba32c8a4bc7fa4;hpb=622489d36e0a2d1b15f0ed9aa92a84fae1bc54fd;p=deb_libnfs.git
diff --git a/lib/socket.c b/lib/socket.c
index 66e1021..b14231e 100644
--- a/lib/socket.c
+++ b/lib/socket.c
@@ -14,28 +14,32 @@
You should have received a copy of the GNU Lesser General Public License
along with this program; if not, see .
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifdef AROS
+#include "aros_compat.h"
+#endif
+
#ifdef WIN32
#include "win32_compat.h"
-#define ioctl ioctlsocket
-#define close closesocket
#else
-#include
#include
-#include
#include
#include
#endif/*WIN32*/
-#ifdef HAVE_CONFIG_H
-#include "config.h"
+#ifdef HAVE_POLL_H
+#include
#endif
-#ifdef AROS
-#include "aros_compat.h"
+#ifdef HAVE_UNISTD_H
+#include
#endif
-#ifdef HAVE_POLL_H
-#include
+#ifdef HAVE_SYS_IOCTL_H
+#include
#endif
#include