diff options
author | Rob Kendrick (plinth) <rjek@rjek.com> | 2013-11-27 14:38:38 +0000 |
---|---|---|
committer | Rob Kendrick (plinth) <rjek@rjek.com> | 2013-11-27 14:38:38 +0000 |
commit | ed8f7d0d066f9d9b82801ede35dfb69133080817 (patch) | |
tree | 970431c16ffc68fa5fe70b58675edd1831340cb4 /luxio.c | |
parent | 3b7f8babc8f2f8ef635b9fb3d44090f8c019a455 (diff) | |
download | luxio-ed8f7d0d066f9d9b82801ede35dfb69133080817.tar.gz |
NetBSD
Diffstat (limited to 'luxio.c')
-rw-r--r-- | luxio.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3236,7 +3236,7 @@ luxio_iconv(lua_State *L) luaL_buffinit(L, &b); do { - ret = iconv(cd, &inbuf, &ibleft, &outbuf, &obleft); + ret = iconv(cd, (ICONV_IN_TYPE)&inbuf, &ibleft, &outbuf, &obleft); if (ret == (size_t)(-1)) { luaL_addlstring(&b, outbufs, ICONV_BUF_SIZE - obleft); @@ -3411,7 +3411,7 @@ luxio_functions[] = { { "nanosleep", luxio_nanosleep }, -#if defined(_POSIX_MESSAGE_PASSING) && defined(__linux__) +#if defined(_POSIX_MESSAGE_PASSING) #if _XOPEN_SOURCE >= 600 || _POSIX_C_SOURCE >= 200112L { "mq_timedsend", luxio_mq_timedsend }, |