projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5f6ee9
)
[MonoPosixHelper] Fix compilation for Android.
author
Jonathan Pryor
<jonpryor@vt.edu>
Thu, 27 Aug 2015 20:05:41 +0000
(16:05 -0400)
committer
Jonathan Pryor
<jonpryor@vt.edu>
Thu, 27 Aug 2015 20:07:43 +0000
(16:07 -0400)
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.
support/sys-socket.c
patch
|
blob
|
history
diff --git
a/support/sys-socket.c
b/support/sys-socket.c
index e6da720f21c9eba557ecdb331b8535fbb1a0845f..188df56a18e25e6c978b73f8a4044a4fdaaddbc3 100644
(file)
--- 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>