diff options
Diffstat (limited to 'libs/nixio/src/nixio.h')
-rw-r--r-- | libs/nixio/src/nixio.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/nixio/src/nixio.h b/libs/nixio/src/nixio.h index 8caa5b9698..0c43cfe8a2 100644 --- a/libs/nixio/src/nixio.h +++ b/libs/nixio/src/nixio.h @@ -33,6 +33,7 @@ typedef struct nixio_address { int family; char host[128]; int port; + int prefix; } nixio_addr; int nixio__perror(lua_State *L); @@ -47,7 +48,6 @@ int nixio__pstatus(lua_State *L, int condition); #include <arpa/inet.h> #include <netinet/in.h> #include <netinet/tcp.h> -#include <net/if.h> #include <sys/un.h> #include <netdb.h> #include <poll.h> @@ -90,6 +90,8 @@ int nixio__mode_write(int mode, char *modestr); int nixio__push_stat(lua_State *L, nixio_stat_t *buf); +const char nixio__bin2hex[16]; + /* Module functions */ void nixio_open_file(lua_State *L); void nixio_open_socket(lua_State *L); |