aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--readme.md2
-rw-r--r--src/net.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/readme.md b/readme.md
index b8a4ccb..958e298 100644
--- a/readme.md
+++ b/readme.md
@@ -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
diff --git a/src/net.c b/src/net.c
index 36b37b9..bd7fc73 100644
--- a/src/net.c
+++ b/src/net.c
@@ -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>