diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2024-12-18 02:26:10 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2024-12-18 05:45:06 +0000 |
| commit | a9e89472f48f7c3ae42431daa4d38adf05a156c1 (patch) | |
| tree | 95448f00627172a50590f0eb646f3a4e8ca68415 /src | |
| parent | 85ad15fbd8c81807a1a662f5b6060641fa3a6357 (diff) | |
| download | luasystem-a9e89472f48f7c3ae42431daa4d38adf05a156c1.tar.gz luasystem-a9e89472f48f7c3ae42431daa4d38adf05a156c1.tar.bz2 luasystem-a9e89472f48f7c3ae42431daa4d38adf05a156c1.zip | |
fix: do not rely on luaconf.h to include limits.h
Fixes #38.
Diffstat (limited to 'src')
| -rw-r--r-- | src/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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> |
