aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorame <[email protected]>2025-11-02 04:39:28 -0600
committerame <[email protected]>2025-11-02 04:39:28 -0600
commit8fe2be29be9637f043ec83ed51788ca969798f68 (patch)
tree73d3f46932ad2e7e2594ab73e532c83a40f44a26
parent77a371ec23b0ecf13b002df2d28461d88b5785cc (diff)
dup requires and readme
-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>