summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOscar Lim <olim@ucla.edu>2016-04-09 23:44:31 -0700
committerOscar Lim <olim@ucla.edu>2016-04-09 23:44:31 -0700
commit785ede5180cc5326eae126d83ad014bd5d8b2c23 (patch)
treef92847e05ff3b1f2f791bf245c9d786ae3a652cf
parentcbea9c7432f9cdd12797ef32b1316f7a534b280a (diff)
downloadluasystem-785ede5180cc5326eae126d83ad014bd5d8b2c23.zip
Fix compile errors for Windows
-rw-r--r--src/time.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/time.c b/src/time.c
index 3f61001..43d0e35 100644
--- a/src/time.c
+++ b/src/time.c
@@ -2,6 +2,8 @@
#include <lauxlib.h>
#ifdef _WIN32
+#include <float.h>
+#include <limits.h>
#include <windows.h>
#else
#include <time.h>