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

@@ -11,6 +11,7 @@
// C
#include <cstdlib>
#include <cstring>
#include <unistd.h>
// C++
#include <string>

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"

View File

@@ -45,6 +45,7 @@
#include <fcntl.h>
#include <pthread.h>
#include <sys/stat.h>
#include <unistd.h>
// yhttpd
#include "yconfig.h"
#include "ytypes_globals.h"

View File

@@ -8,6 +8,7 @@
#include <cstring>
#include <cstdlib>
#include <stdio.h>
#include <unistd.h>
#include "mod_weblog.h"
#include "helper.h"