diff dpid/dpi.h @ 1223:a09dbf132be6

Remove system includes for dpid
author Jorge Arellano Cid <jcid@dillo.org>
date Mon, 13 Jul 2009 15:24:42 -0400
parents 6ee11bf9e3ea
children 511017b74e8e
line wrap: on
line diff
--- a/dpid/dpi.h	Sun Jul 12 17:23:39 2009 -0400
+++ b/dpid/dpi.h	Mon Jul 13 15:24:42 2009 -0400
@@ -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