summaryrefslogtreecommitdiff
path: root/dpid/dpi.h
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2009-07-13 15:24:42 -0400
committerJorge Arellano Cid <jcid@dillo.org>2009-07-13 15:24:42 -0400
commitfad45baee35ac1801499bebfe24c53cfaff5cf67 (patch)
tree4efc8c65d1a3a52f80678fa074353ee9da4529cc /dpid/dpi.h
parent166f548efcab0efac6374c742fdad2c65349965f (diff)
Remove system includes for dpid
Diffstat (limited to 'dpid/dpi.h')
-rw-r--r--dpid/dpi.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/dpid/dpi.h b/dpid/dpi.h
index d97fdc6d..0605e5d3 100644
--- a/dpid/dpi.h
+++ b/dpid/dpi.h
@@ -7,13 +7,8 @@
#ifndef DPI_H
#define DPI_H
-#include <config.h>
-#include <stdio.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <unistd.h>
-#include <stdlib.h>
-#include <string.h>
+#include <unistd.h> /* for socklen_t */
+#include <sys/socket.h> /* for socklen_t and AF_LOCAL */
/* Check the Unix98 goodie */
#ifndef socklen_t