      out_flush();
  
      gui.num_cols = (pixel_width - gui_get_base_width()) / gui.char_width;
-@@ -1314,7 +1318,11 @@
+@@ -1314,7 +1325,11 @@
  	    || gui.num_rows != Rows || gui.num_cols != Columns)
  	shell_resized();
  

+#include <be/interface/View.h>
+#include <be/interface/Window.h>
+#include <be/interface/Box.h>
+#include <be/interface/MenuBar.h>
+#include <be/interface/MenuItem.h>
+#include <be/interface/ScrollBar.h>
+#include <be/interface/Region.h>
+#include <be/interface/Screen.h>

diff -Naur vim73/src/gui_beos.cc vim73.haiku/src/gui_beos.cc
--- vim73/src/gui_beos.cc	1970-01-01 00:00:00.000000000 +0000
+++ vim73.haiku/src/gui_beos.cc	2010-08-20 23:43:35.727711744 +0000
@@ -0,0 +1,4868 @@
+/* vi:set ts=8 sts=4 sw=4:
+ *
+ * VIM - Vi IMproved			by Bram Moolenaar
