  objects/os_beos.o: os_beos.c
  	$(CCC) -o $@ os_beos.c
  
-+#	rc -o $@ os_beos.rdef
 +objects/os_beos.rsrc: os_beos.rdef
 +	cat $< | $(CCC) -E - | grep -v '^#' | rc -o "$@" -
 +

+typedef struct VimScrollBar VimScrollBar;
+
+#endif
diff -Naur vim72/src/normal.c vim72.haiku/src/normal.c
--- vim72/src/normal.c	2009-04-19 20:53:33.000000000 +0000
+++ vim72.haiku/src/normal.c	2009-04-18 09:16:31.000000000 +0000

 #include <termios.h>
 #include <kernel/OS.h>
 #include "vim.h"
+//#include "os_beos.h"
 
 #if USE_THREAD_FOR_INPUT_WITH_TIMEOUT
 
