diff options
Diffstat (limited to 'serv.c')
-rw-r--r-- | serv.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,6 +4,9 @@ #include <stdio.h> #include <string.h> #include <errno.h> +#include <ctype.h> + +#include <unistd.h> #include <sys/types.h> @@ -95,7 +98,7 @@ int main(int argc, char *argv[]) struct sockaddr_in addr; char buff[1024]; int len; - int addrlen; + socklen_t addrlen; int sock_fd; int connect_fd; |