Differences From:
File
src/cgi.c
part of check-in
[e63a9fd9d0]
- Fixed many uninitialized variable warnings and some potential bug found via -Wall -Werror on gcc.
by
jnc on
2007-09-25 21:21:35.
Also file
src/cgi.c
part of check-in
[92291035fe]
- Merged the compiler warning fixes into mainstream
by
jnc on
2007-09-25 21:28:30.
[view]
To:
File
src/cgi.c
part of check-in
[e7cf189265]
- Changes to cgi.c in check-in e63a9fd9d0 broke the windows build because of undefined socklen_t. Added the appropriate include file
by
mjanssen on
2007-10-04 17:37:00.
[view]
@@ -31,8 +31,9 @@
#ifdef __MINGW32__
# include <windows.h> /* for Sleep once server works again */
# include <winsock2.h> /* socket operations */
# define sleep Sleep /* windows does not have sleep, but Sleep */
+# include <ws2tcpip.h>
#else
# include <sys/socket.h>
# include <netinet/in.h>
# include <arpa/inet.h>