2009-01-10 Zoltan Varga <vargaz@gmail.com>
authorZoltan Varga <vargaz@gmail.com>
Sat, 10 Jan 2009 10:14:08 +0000 (10:14 -0000)
committerZoltan Varga <vargaz@gmail.com>
Sat, 10 Jan 2009 10:14:08 +0000 (10:14 -0000)
* socket-io.c: Fix the build.

* environment.c: Fix an #ifdef.

svn path=/trunk/mono/; revision=122980

mono/metadata/ChangeLog
mono/metadata/environment.c
mono/metadata/socket-io.c

index 0e323f35a40d9628cf7043d9a428ba2e3b4eadff..19ed0837afc31ea4931143a0eb4b0f5f071c165a 100644 (file)
@@ -1,3 +1,9 @@
+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
index c907a7fb507971658b046f1c856ac032c31e1abd..081cc9f8e79e4da0208c620e206ab5fff757e6b2 100644 (file)
@@ -17,7 +17,7 @@
 #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
 
index 3326c82dc852809603018f612d9342a356826e8b..6b81d697979fc328a5642fe3118a8ca565ca93a7 100644 (file)
 #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>