aboutsummaryrefslogtreecommitdiff
path: root/src/IO
diff options
context:
space:
mode:
Diffstat (limited to 'src/IO')
-rw-r--r--src/IO/IO.c5
-rw-r--r--src/IO/IO.h3
-rw-r--r--src/IO/dpi.c3
-rw-r--r--src/IO/http.c2
-rw-r--r--src/IO/mime.h1
5 files changed, 0 insertions, 14 deletions
diff --git a/src/IO/IO.c b/src/IO/IO.c
index 77790131..ddcbe2e7 100644
--- a/src/IO/IO.c
+++ b/src/IO/IO.c
@@ -13,14 +13,9 @@
* Dillo's event driven IO engine
*/
-#include <stdio.h>
-#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
-#include <sys/stat.h>
-#include <sys/uio.h>
-#include <sys/socket.h>
#include "../msg.h"
#include "../chain.h"
#include "../klist.h"
diff --git a/src/IO/IO.h b/src/IO/IO.h
index 65b032f5..b75488c2 100644
--- a/src/IO/IO.h
+++ b/src/IO/IO.h
@@ -1,9 +1,6 @@
#ifndef __IO_H__
#define __IO_H__
-#include <unistd.h>
-#include <sys/uio.h>
-
#include "d_size.h"
#include "../../dlib/dlib.h"
#include "../chain.h"
diff --git a/src/IO/dpi.c b/src/IO/dpi.c
index ef77a88a..963b3a14 100644
--- a/src/IO/dpi.c
+++ b/src/IO/dpi.c
@@ -21,13 +21,10 @@
#include <unistd.h>
#include <stdlib.h>
#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
#include <string.h>
#include <stdio.h>
#include <errno.h> /* for errno */
-#include <stdio.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <netinet/in.h>
diff --git a/src/IO/http.c b/src/IO/http.c
index ae87c8d0..84120a92 100644
--- a/src/IO/http.c
+++ b/src/IO/http.c
@@ -20,9 +20,7 @@
#include <unistd.h>
#include <errno.h> /* for errno */
#include <stdlib.h>
-#include <signal.h>
#include <fcntl.h>
-#include <sys/wait.h>
#include <sys/socket.h> /* for lots of socket stuff */
#include <netinet/in.h> /* for ntohl and stuff */
#include <arpa/inet.h> /* for inet_ntop */
diff --git a/src/IO/mime.h b/src/IO/mime.h
index 084cc933..0f20cf6d 100644
--- a/src/IO/mime.h
+++ b/src/IO/mime.h
@@ -13,7 +13,6 @@
#define __MIME_H__
#include <config.h>
-#include <stddef.h>
#ifdef __cplusplus
extern "C" {