--- lbbs/src/net_server.c 2025/04/28 03:31:00 1.13 +++ lbbs/src/net_server.c 2025/05/04 14:54:55 1.15 @@ -15,8 +15,11 @@ * * ***************************************************************************/ +#include "net_server.h" #include "common.h" +#include "log.h" #include "io.h" +#include "fork.h" #include "tcplib.h" #include #include @@ -24,9 +27,10 @@ int net_server(const char *hostaddr, unsigned int port) { - int namelen, seq, netint, result, flags; + unsigned int namelen; + int result; + int flags; struct sockaddr_in sin; - char temp[256]; fd_set testfds; struct timeval timeout;