mirror of
https://github.com/BoredDevNL/BoredOS.git
synced 2026-05-15 10:48:38 +00:00
fix: include local time header to satisfy IntelliSense
This commit is contained in:
parent
ecaa5f60f7
commit
4fc48eab73
1 changed files with 1 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
||||||
#include "lua.h"
|
#include "lua.h"
|
||||||
#include "lauxlib.h"
|
#include "lauxlib.h"
|
||||||
#include "lualib.h"
|
#include "lualib.h"
|
||||||
|
#include "sysinclude/time.h"
|
||||||
|
|
||||||
static int os_clock(lua_State *L) {
|
static int os_clock(lua_State *L) {
|
||||||
lua_pushnumber(L, (lua_Number)clock() / (lua_Number)CLOCKS_PER_SEC);
|
lua_pushnumber(L, (lua_Number)clock() / (lua_Number)CLOCKS_PER_SEC);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue