diff --git a/build-scripts/naclbuild.sh b/build-scripts/naclbuild.sh index 717e7178f..db745f9e3 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 80dea3b4e..40a29ddf5 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);