diff options
| -rw-r--r-- | readme.md | 2 | ||||
| -rw-r--r-- | src/net.c | 3 |
2 files changed, 2 insertions, 3 deletions
@@ -39,7 +39,7 @@ end, port) build with `make`, output is `./lullaby.so` or (win)`./lullaby.dll`
-windows works through msys2, install `mingw-w64-x86_64-lua` then run `make CC=gcc`
+windows may work through msys2, install `mingw-w64-x86_64-lua` then run `make CC=gcc` it is not tested enough currently
you can install with `doas make install` which will install lullaby.so into /usr/local/lib/lua/5.X
@@ -8,10 +8,9 @@ #include <netdb.h>
#include <netinet/tcp.h>
+#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/types.h>
-#include <netinet/in.h>
-#include <netdb.h>
#include <sys/poll.h>
#include <sys/eventfd.h>
|
