summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_crawl.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-19 23:29:48 +0200
committerRobert Vollmert <rvollmert@gmx.net>2009-10-19 23:29:48 +0200
commitcf2b911c89d554a8f5f72156cef48b5f0fefd797 (patch)
tree38e7c526b743bd71fa8b50409515ca38d5b0a8a9 /crawl-ref/source/l_crawl.cc
parent8e94f180081dc6d88069afefe9a7f92828d32729 (diff)
downloadcrawl-ref-cf2b911c89d554a8f5f72156cef48b5f0fefd797.tar.gz
crawl-ref-cf2b911c89d554a8f5f72156cef48b5f0fefd797.zip
Reduce #includes in dlua.cc.
Diffstat (limited to 'crawl-ref/source/l_crawl.cc')
-rw-r--r--crawl-ref/source/l_crawl.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/l_crawl.cc b/crawl-ref/source/l_crawl.cc
index 4306c01801..d3bf402d9d 100644
--- a/crawl-ref/source/l_crawl.cc
+++ b/crawl-ref/source/l_crawl.cc
@@ -2,10 +2,14 @@
#include "dlua.h"
#include "l_libs.h"
-
#include "initfile.h"
#include "view.h"
+#ifdef UNIX
+#include <sys/time.h>
+#include <time.h>
+#endif
+
LUAFN(_crawl_args)
{
return dlua_stringtable(ls, SysEnv.cmd_args);