From 5030d53ff08665d27e388244aa22b272716240bc Mon Sep 17 00:00:00 2001 From: dscho Date: Sun, 9 Feb 2003 15:04:00 +0000 Subject: converted CARD{8,16,32} to uint{8,16,32}_t and included support for stdint.h --- httpd.c | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) (limited to 'httpd.c') diff --git a/httpd.c b/httpd.c index 328f416..15265c4 100644 --- a/httpd.c +++ b/httpd.c @@ -22,32 +22,43 @@ * USA. */ -#include +#include "rfb.h" + #include +#ifdef HAVE_UNISTD_H #include +#endif +#ifdef HAVE_SYS_TYPES_H #include +#endif +#ifdef HAVE_FCNTL_H +#include +#endif +#include + #ifdef WIN32 #include #define close closesocket #else +#ifdef HAVE_SYS_TIME_H #include +#endif +#ifdef HAVE_SYS_SOCKET_H #include +#endif +#ifdef HAVE_NETINET_IN_H #include #include #include -#include #include -#include #endif -#include -#include +#include +#endif #ifdef USE_LIBWRAP #include #endif -#include "rfb.h" - #define NOT_FOUND_STR "HTTP/1.0 404 Not found\r\n\r\n" \ "File Not Found\n" \ "

File Not Found

\n" -- cgit v1.2.1