aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2024-12-18 02:26:10 -0300
committerHisham Muhammad <hisham@gobolinux.org>2024-12-18 05:45:06 +0000
commita9e89472f48f7c3ae42431daa4d38adf05a156c1 (patch)
tree95448f00627172a50590f0eb646f3a4e8ca68415
parent85ad15fbd8c81807a1a662f5b6060641fa3a6357 (diff)
downloadluasystem-a9e89472f48f7c3ae42431daa4d38adf05a156c1.tar.gz
luasystem-a9e89472f48f7c3ae42431daa4d38adf05a156c1.tar.bz2
luasystem-a9e89472f48f7c3ae42431daa4d38adf05a156c1.zip
fix: do not rely on luaconf.h to include limits.h
Fixes #38.
-rw-r--r--src/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time.c b/src/time.c
index 05f4f1b..c18ec49 100644
--- a/src/time.c
+++ b/src/time.c
@@ -5,10 +5,10 @@
5 5
6#include <lua.h> 6#include <lua.h>
7#include <lauxlib.h> 7#include <lauxlib.h>
8#include <limits.h>
8 9
9#ifdef _WIN32 10#ifdef _WIN32
10#include <float.h> 11#include <float.h>
11#include <limits.h>
12#include <windows.h> 12#include <windows.h>
13#else 13#else
14#include <time.h> 14#include <time.h>