summaryrefslogtreecommitdiff
path: root/navit/graphics/null
diff options
context:
space:
mode:
Diffstat (limited to 'navit/graphics/null')
-rw-r--r--navit/graphics/null/graphics_null.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/navit/graphics/null/graphics_null.c b/navit/graphics/null/graphics_null.c
index 9bbd7559d..9922e98ce 100644
--- a/navit/graphics/null/graphics_null.c
+++ b/navit/graphics/null/graphics_null.c
@@ -27,7 +27,8 @@
#include "event.h"
#include "debug.h"
#if defined(WINDOWS) || defined(WIN32)
-# define sleep(i) Sleep(i)
+#include <windows.h>
+# define sleep(i) Sleep(i * 1000)
#endif
static int dummy;