Commit 3b217eefd7a4a8553c1ff9707236f4cd77e128d3

Gabriel Jacobo 2014-06-20T11:50:31

Fix another NaCl warning

diff --git a/build-scripts/naclbuild.sh b/build-scripts/naclbuild.sh
index 717e717..db745f9 100755
--- a/build-scripts/naclbuild.sh
+++ b/build-scripts/naclbuild.sh
@@ -20,7 +20,7 @@ fi
 echo "Using SDK at $NACL_SDK_ROOT"
 
 export NACL_SDK_ROOT="$NACL_SDK_ROOT"
-export CFLAGS="$CFLAGS -I$NACL_SDK_ROOT/include"
+export CFLAGS="$CFLAGS -I$NACL_SDK_ROOT/include -I$NACL_SDK_ROOT/include/pnacl"
 
 NCPUS="1"
 case "$OSTYPE" in
diff --git a/src/main/nacl/SDL_nacl_main.c b/src/main/nacl/SDL_nacl_main.c
index 80dea3b..40a29dd 100644
--- a/src/main/nacl/SDL_nacl_main.c
+++ b/src/main/nacl/SDL_nacl_main.c
@@ -29,6 +29,7 @@
 #include "ppapi_simple/ps_event.h"
 #include "ppapi_simple/ps_interface.h"
 #include "nacl_io/nacl_io.h"
+#include "sys/mount.h"
 
 extern void NACL_SetScreenResolution(int width, int height, Uint32 format);