diff options
author | Rob Kendrick (monotony) <rjek@rjek.com> | 2013-03-26 22:24:14 +0000 |
---|---|---|
committer | Rob Kendrick (monotony) <rjek@rjek.com> | 2013-03-26 22:24:14 +0000 |
commit | 0712452e5f92c5037bdc03a801f1ec952c185142 (patch) | |
tree | 8627b08926ed6765ae3ee4ae638d0636e90c72d3 | |
parent | f703c6bb9f2d438d7cedf9c49eac49c0897a4e42 (diff) | |
download | luxio-0712452e5f92c5037bdc03a801f1ec952c185142.tar.gz |
MINIX 3 build compatible. Stock MINIX 3 Lua package does not support dlopen however, so this needs actual checking.
-rw-r--r-- | config.h | 4 | ||||
-rw-r--r-- | luxio_constants.h.in | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -22,5 +22,9 @@ # define LOGIN_NAME_MAX 9 #endif +#ifndef IFNAMSIZ +/* MINIX does not have this */ +# define IFNAMSIZ 128 +#endif #endif /* LUXIO_CONFIG_H */ diff --git a/luxio_constants.h.in b/luxio_constants.h.in index 05a73d9..9045e5d 100644 --- a/luxio_constants.h.in +++ b/luxio_constants.h.in @@ -49,13 +49,13 @@ static const struct { E(O_WRONLY), E(O_RDWR), E(O_APPEND), - E(O_ASYNC), - E(O_CLOEXEC), +? E(O_ASYNC), +? E(O_CLOEXEC), E(O_CREAT), E(O_EXCL), E(O_NOCTTY), E(O_NONBLOCK), - E(O_SYNC), +? E(O_SYNC), E(O_TRUNC), ? E(O_DIRECT), ? E(O_NOFOLLOW), |