fix gcc 4.7.x warnings

This commit is contained in:
satbaby
2012-07-07 13:09:08 +02:00
parent 9f1904a71d
commit 060c1c45b2
24 changed files with 29 additions and 3 deletions

View File

@@ -7,6 +7,7 @@
#include <cstdarg>
#include <cstdio>
#include <cstdlib>
#include <unistd.h>
// yhttpd
#include <yconfig.h>

View File

@@ -21,6 +21,8 @@
#include <cstring>
#include <cstdlib>
#include <errno.h>
#include <unistd.h>
// system
#include <fcntl.h>
#include <sys/socket.h>

View File

@@ -7,6 +7,8 @@
#include <cstdarg>
#include <cstdio>
#include <errno.h>
#include <unistd.h>
// c++
#include <string.h>
// system

View File

@@ -14,6 +14,8 @@
#include <sys/ioctl.h>
#include <errno.h>
#include <signal.h>
#include <unistd.h>
// yhttpd
#include "yhttpd.h"
#include "ysocket.h"