diff options
| author | ame <[email protected]> | 2025-11-02 04:39:28 -0600 |
|---|---|---|
| committer | ame <[email protected]> | 2025-11-02 04:39:28 -0600 |
| commit | 8fe2be29be9637f043ec83ed51788ca969798f68 (patch) | |
| tree | 73d3f46932ad2e7e2594ab73e532c83a40f44a26 | |
| parent | 77a371ec23b0ecf13b002df2d28461d88b5785cc (diff) | |
dup requires and readme
| -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>
|
