summaryrefslogtreecommitdiff
path: root/dpid/dpi.h
diff options
context:
space:
mode:
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