diff options
Diffstat (limited to 'httpd.c')
-rw-r--r-- | httpd.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -31,6 +31,8 @@ #include <fcntl.h> #include <errno.h> #include <pwd.h> +#include <arpa/inet.h> +#include <unistd.h> #include "rfb.h" @@ -99,7 +101,7 @@ httpInitSockets(rfbScreenInfoPtr rfbScreen) void httpCheckFds(rfbScreenInfoPtr rfbScreen) { - int nfds, n; + int nfds; fd_set fds; struct timeval tv; struct sockaddr_in addr; |