aboutsummaryrefslogtreecommitdiffstats
path: root/code/sys
diff options
context:
space:
mode:
Diffstat (limited to 'code/sys')
-rw-r--r--code/sys/con_tty.c1
-rw-r--r--code/sys/sys_local.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/code/sys/con_tty.c b/code/sys/con_tty.c
index 5e499eb..ee729da 100644
--- a/code/sys/con_tty.c
+++ b/code/sys/con_tty.c
@@ -27,6 +27,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include <signal.h>
#include <termios.h>
#include <fcntl.h>
+#include <sys/time.h>
/*
=============================================================
diff --git a/code/sys/sys_local.h b/code/sys/sys_local.h
index 815852f..af0ed7c 100644
--- a/code/sys/sys_local.h
+++ b/code/sys/sys_local.h
@@ -23,6 +23,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "../qcommon/q_shared.h"
#include "../qcommon/qcommon.h"
+// Require a minimum version of SDL
+#define MINSDL_MAJOR 1
+#define MINSDL_MINOR 2
+#define MINSDL_PATCH 7
+
// Input subsystem
void IN_Init (void);
void IN_Frame (void);