[MonoDroid] Fix the libmono build.
authorJonathan Pryor <jonp@xamarin.com>
Mon, 21 Nov 2011 17:42:58 +0000 (12:42 -0500)
committerJonathan Pryor <jonpryor@vt.edu>
Mon, 21 Nov 2011 17:55:13 +0000 (12:55 -0500)
7e49d08a nee 2763aae9c doesn't build because <fcntl.h> is missing:

mono/utils/mono-proclib.c:517: error: 'O_RDONLY' undeclared (first use in this function

Fix the build.

mono/utils/mono-proclib.c

index 09f58bc04b2934b087ac97edba825d4898b411f7..c73c9a3f31a3119513622cfdb81a80873a9d2327 100644 (file)
@@ -4,6 +4,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
+#include <fcntl.h>
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif