aboutsummaryrefslogtreecommitdiff
path: root/loslib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-11-02 17:19:04 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-11-02 17:19:04 -0200
commit28fdbcf393c6c709a21a29f47cfa4c6ed4031ae9 (patch)
treeeaac6c45a621d7f0176ce8f57df3cca1ca8d30f6 /loslib.c
parentc25072a246eddff711ebec8e4acce9593bc5ff70 (diff)
downloadlua-28fdbcf393c6c709a21a29f47cfa4c6ed4031ae9.tar.gz
lua-28fdbcf393c6c709a21a29f47cfa4c6ed4031ae9.tar.bz2
lua-28fdbcf393c6c709a21a29f47cfa4c6ed4031ae9.zip
added include for 'lprefix.h', for stuff that must be added before
any other header file
Diffstat (limited to 'loslib.c')
-rw-r--r--loslib.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/loslib.c b/loslib.c
index 12d7c0d3..98809da3 100644
--- a/loslib.c
+++ b/loslib.c
@@ -1,9 +1,14 @@
1/* 1/*
2** $Id: loslib.c,v 1.49 2014/10/17 16:28:21 roberto Exp roberto $ 2** $Id: loslib.c,v 1.50 2014/10/25 11:50:46 roberto Exp roberto $
3** Standard Operating System library 3** Standard Operating System library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
6 6
7#define loslib_c
8#define LUA_LIB
9
10#include "lprefix.h"
11
7 12
8#include <errno.h> 13#include <errno.h>
9#include <locale.h> 14#include <locale.h>
@@ -11,9 +16,6 @@
11#include <string.h> 16#include <string.h>
12#include <time.h> 17#include <time.h>
13 18
14#define loslib_c
15#define LUA_LIB
16
17#include "lua.h" 19#include "lua.h"
18 20
19#include "lauxlib.h" 21#include "lauxlib.h"