Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Pryor <jonpryor@vt.edu>2015-08-27 23:05:41 +0300
committerJonathan Pryor <jonpryor@vt.edu>2015-08-27 23:07:43 +0300
commit535964dc5f1d63bc2f6ff77bfbc59cdc0015969a (patch)
tree18c59e8d74473461cd11ca19d315b16fca635aac /support
parentd5f6ee9ee3d9564b4f7366985b59f993feffa749 (diff)
[MonoPosixHelper] Fix compilation for Android.
The Android NDK decalres the `struct timeval` struct in <sys/time.h>. Update sys-socket.c to #include <sys/time.h> to fix compilation with the Android NDK.
Diffstat (limited to 'support')
-rw-r--r--support/sys-socket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/sys-socket.c b/support/sys-socket.c
index e6da720f21c..188df56a18e 100644
--- a/support/sys-socket.c
+++ b/support/sys-socket.c
@@ -8,6 +8,7 @@
*/
#include <sys/socket.h>
+#include <sys/time.h>
#include <netinet/in.h>
#include <sys/un.h>