#include "nixio.h"
+#ifndef __WINNT__
+#include <net/if.h>
+#endif
+
#include <sys/types.h>
#include <sys/time.h>
#include <string.h>
return nixio__perror_s(L);
}
lua_pushstring(L, buf);
- lua_pushnumber(L, val.ipv6mr_interface);
+ lua_pushinteger(L, val.ipv6mr_interface);
return 2;
}
} else {