 ===================================================================
 --- intern/ghost/intern/GHOST_SystemHaiku.cpp	(revision 0)
 +++ intern/ghost/intern/GHOST_SystemHaiku.cpp	(revision 0)
-@@ -0,0 +1,129 @@
+@@ -0,0 +1,114 @@
 +#include "GHOST_Debug.h"
 +#include "GHOST_SystemHaiku.h"
 +#include "GHOST_WindowHaiku.h"
 +#include "GHOST_WindowManager.h"
 +
++#include <stdio.h>
++
 +GHOST_SystemHaiku::GHOST_SystemHaiku()
 +	: fDisplayManager(NULL),
 +	fApplication(NULL)

 	if (statvfs(name, &disk)) return(-1);	
 #elif !defined(__FreeBSD__) && !defined(linux) && (defined (__sgi) || defined(__sparc) || defined(__sparc__))
 	/* WARNING - This may not be supported by geeneric unix os's - Campbell */
Index: extern/glew/src/glew.c
===================================================================
--- extern/glew/src/glew.c	(revision 19951)

+	 * @return Indication of success.
+	 */
+	virtual GHOST_TSuccess init();
+
+	/**
+	 * Shut the system down.
