* socket-io.c: Fix the build.
* environment.c: Fix an #ifdef.
svn path=/trunk/mono/; revision=122980
+2009-01-10 Zoltan Varga <vargaz@gmail.com>
+
+ * socket-io.c: Fix the build.
+
+ * environment.c: Fix an #ifdef.
+
2009-01-09 Zoltan Varga <vargaz@gmail.com>
* threadpool.c (async_invoke_thread): Handle the wait function returning
#include <mono/metadata/exception.h>
#include <mono/io-layer/io-layer.h>
-#ifndef PLATFORM_WIN32 && HAVE_SYS_UTSNAME_H
+#if !defined(PLATFORM_WIN32) && defined(HAVE_SYS_UTSNAME_H)
#include <sys/utsname.h>
#endif
#endif
#include <errno.h>
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <sys/ioctl.h>
+#include <netinet/in.h>
+#include <netinet/tcp.h>
+#include <netdb.h>
+#include <arpa/inet.h>
+
#include <mono/metadata/object.h>
#include <mono/io-layer/io-layer.h>
#include <mono/metadata/socket-io.h>