diff options
author | Rob Hoelz <rob@hoelz.ro> | 2016-03-15 20:32:05 -0500 |
---|---|---|
committer | Rob Hoelz <rob@hoelz.ro> | 2016-03-15 20:32:05 -0500 |
commit | 03ff7e5fe00e6bf62b5482572a2c07e813f4a616 (patch) | |
tree | 6be0656727bb617b5cedc6da476d08597213857a | |
parent | 08a450b70ac58f688580dde1c152289884371e7c (diff) | |
download | lua-term-03ff7e5fe00e6bf62b5482572a2c07e813f4a616.tar.gz lua-term-03ff7e5fe00e6bf62b5482572a2c07e813f4a616.tar.bz2 lua-term-03ff7e5fe00e6bf62b5482572a2c07e813f4a616.zip |
Bring in POSIX definitions (eg. fileno) from stdio.h
Fixes compilation warning
-rw-r--r-- | core.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,3 +1,5 @@ | |||
1 | #define _POSIX_SOURCE | ||
2 | |||
1 | #include <lua.h> | 3 | #include <lua.h> |
2 | #include <lauxlib.h> | 4 | #include <lauxlib.h> |
3 | #include <lualib.h> | 5 | #include <lualib.h> |