Simulator build fixes for the new GL stuff. The simulator still doesn't run, but at least it builds.
diff --git a/modules/gralloc/gralloc_priv.h b/modules/gralloc/gralloc_priv.h
index 7ec07ef..c3e34bd 100644
--- a/modules/gralloc/gralloc_priv.h
+++ b/modules/gralloc/gralloc_priv.h
@@ -28,16 +28,14 @@
 
 #include <cutils/native_handle.h>
 
-#if HAVE_ANDROID_OS
 #include <linux/fb.h>
-#endif
 
 /*****************************************************************************/
 
 struct private_module_t;
 
 inline size_t roundUpToPageSize(size_t x) {
-    return (x + (PAGESIZE-1)) & ~(PAGESIZE-1);
+    return (x + (PAGE_SIZE-1)) & ~(PAGE_SIZE-1);
 }
 
 int mapFrameBufferLocked(struct private_module_t* module);