diff options
author | Peter Drahoš <drahosp@gmail.com> | 2015-12-16 00:10:56 +0100 |
---|---|---|
committer | Peter Drahoš <drahosp@gmail.com> | 2015-12-16 00:10:56 +0100 |
commit | 94f9f6c6ed0fbc1b49ab4a896d6a587ce8815e36 (patch) | |
tree | 45e364c01224074cc5749d5c23a95aa833466a6a | |
parent | 991244c4fc3cb151b3203a96d2b0cc70cfda39ab (diff) | |
download | lua-5.3.1.tar.gz |
Merge loadlib changes to loadlib_rel.5.3.1
-rw-r--r-- | src/loadlib_rel.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/loadlib_rel.c b/src/loadlib_rel.c index 7aea252..1843444 100644 --- a/src/loadlib_rel.c +++ b/src/loadlib_rel.c @@ -14,6 +14,7 @@ #include "lprefix.h" +#include <stdio.h> #include <stdlib.h> #include <string.h> @@ -228,8 +229,8 @@ static void setprogdir(lua_State *L) { #include <dlfcn.h> /* -** Macro to covert pointer to void* to pointer to function. This cast -** is undefined according to ISO C, but POSIX assumes that it must work. +** Macro to convert pointer-to-void* to pointer-to-function. This cast +** is undefined according to ISO C, but POSIX assumes that it works. ** (The '__extension__' in gnu compilers is only to avoid warnings.) */ #if defined(__GNUC__) |