diff options
author | Jonathan Pryor <jonpryor@vt.edu> | 2015-08-27 23:05:41 +0300 |
---|---|---|
committer | Jonathan Pryor <jonpryor@vt.edu> | 2015-08-27 23:07:43 +0300 |
commit | 535964dc5f1d63bc2f6ff77bfbc59cdc0015969a (patch) | |
tree | 18c59e8d74473461cd11ca19d315b16fca635aac /support | |
parent | d5f6ee9ee3d9564b4f7366985b59f993feffa749 (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.c | 1 |
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> |