 +#include <ppapi/cpp/graphics_2d.h>
 +#include <ppapi/cpp/completion_callback.h>
 +#include <ppapi/cpp/image_data.h>
++#include <ppapi/cpp/rect.h>
 +#include <ppapi/c/pp_errors.h>
 +
 +pp::Instance* gNaclPPInstance;

 
 #ifdef PTHREAD_CANCEL_ASYNCHRONOUS
 	/* Allow ourselves to be asynchronously cancelled */
diff --git SDL-1.2.14/src/video/SDL_sysvideo.h SDL-1.2.14/src/video/SDL_sysvideo.h
index 1c72e09..9fc1a85 100644
--- SDL-1.2.14/src/video/SDL_sysvideo.h
+++ SDL-1.2.14/src/video/SDL_sysvideo.h
@@ -317,6 +317,9 @@ typedef struct VideoBootStrap {
 	SDL_VideoDevice *(*create)(int devindex);
 } VideoBootStrap;
 

+
+extern void NACL_InitOSKeymap(_THIS);
+extern void NACL_PumpEvents(_THIS);
diff -urN SDL-1.2.14/src/video/nacl/SDL_naclvideo.cc SDL-1.2.14-nacl/src/video/nacl/SDL_naclvideo.cc
--- SDL-1.2.14/src/video/nacl/SDL_naclvideo.cc	1970-01-01 03:00:00.000000000 +0300
+++ SDL-1.2.14-nacl/src/video/nacl/SDL_naclvideo.cc	2011-05-27 12:43:32.114950885 +0400
@@ -0,0 +1,324 @@
+#include "SDL_config.h"
+
+#include <assert.h>
