summaryrefslogtreecommitdiff
path: root/os2.c
diff options
context:
space:
mode:
authororudge <orudge@openttd.org>2005-07-22 16:14:24 +0000
committerorudge <orudge@openttd.org>2005-07-22 16:14:24 +0000
commitc50223526ce416144495b3c5746e1e2de3d5371b (patch)
treea0920f396db4a75b428759305e9804a19c174e68 /os2.c
parent1b6ff121f4b8c07311d1022392f85e58db41aea0 (diff)
downloadopenttd-c50223526ce416144495b3c5746e1e2de3d5371b.tar.xz
(svn r2681) - Fix OS/2 port, please do not modify openttd.wpj/tgt by hand unless you know what you're doing!
Diffstat (limited to 'os2.c')
-rw-r--r--os2.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/os2.c b/os2.c
index f853f746f..f8485a26d 100644
--- a/os2.c
+++ b/os2.c
@@ -1,11 +1,15 @@
#include "stdafx.h"
#include "openttd.h"
+#include "variables.h"
#include "window.h"
#include "string.h"
#include "table/strings.h"
#include "hal.h"
#include "gfx.h"
#include "gui.h"
+#include "saveload.h"
+#include "functions.h"
+#include "macros.h"
#include <direct.h>
#include <unistd.h>
@@ -25,6 +29,8 @@
#include <os2.h>
#include <os2me.h>
+#include <i86.h>
+
#if defined(WITH_SDL)
#include <SDL.h>
#endif
@@ -772,3 +778,9 @@ void JoinOTTDThread(void)
DosWaitThread(&thread1, DCWW_WAIT);
}
+
+void CSleep(int milliseconds)
+{
+ delay(milliseconds);
+}
+