$OpenBSD$
--- src/unix/linux_glimp.c.orig	Tue Aug 10 18:17:01 2010
+++ src/unix/linux_glimp.c	Sun Aug 15 00:38:26 2010
@@ -43,9 +43,8 @@ If you have questions concerning this license or the a
 
 #include <termios.h>
 #include <sys/ioctl.h>
-#ifdef __linux__
+#ifdef __OpenBSD__
   #include <sys/stat.h>
-  #include <sys/vt.h>
 #endif
 #include <stdarg.h>
 #include <stdio.h>
@@ -1636,7 +1635,7 @@ void Sys_SendKeyEvents( void ) {
 // bk010216 - added stubs for non-Linux UNIXes here
 // FIXME - use NO_JOYSTICK or something else generic
 
-#if defined( __FreeBSD__ ) // rb010123
+#if defined( __OpenBSD__ ) // rb010123
 void IN_StartupJoystick( void ) {}
 void IN_JoyMove( void ) {}
 #endif
