Fix another NaCl warning
authorGabriel Jacobo <gabomdq@gmail.com>
Fri, 20 Jun 2014 11:50:31 -0300
changeset 8880 ee5117b56b93
parent 8879 f6e4f24df1ac
child 8881 eb48568ecabb
Fix another NaCl warning
build-scripts/naclbuild.sh
src/main/nacl/SDL_nacl_main.c
--- a/build-scripts/naclbuild.sh	Fri Jun 20 11:10:16 2014 -0300
+++ b/build-scripts/naclbuild.sh	Fri Jun 20 11:50:31 2014 -0300
@@ -20,7 +20,7 @@
 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
--- a/src/main/nacl/SDL_nacl_main.c	Fri Jun 20 11:10:16 2014 -0300
+++ b/src/main/nacl/SDL_nacl_main.c	Fri Jun 20 11:50:31 2014 -0300
@@ -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);