summaryrefslogtreecommitdiff
path: root/libc/inet
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-01-17 19:29:22 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-01-17 19:31:39 +0100
commit1e2e4ac6193ffe0900bd392fa3c596883771eb34 (patch)
tree048e2c36d35d368fa2351fcb329900e82c7c8aa9 /libc/inet
parent7059926a34cfb090a3c36ca032342fd830c2d5a6 (diff)
socket.h: pull socket_type.h from eglibc
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/inet')
-rw-r--r--libc/inet/opensock.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libc/inet/opensock.c b/libc/inet/opensock.c
index 3373f34ed..ac7289029 100644
--- a/libc/inet/opensock.c
+++ b/libc/inet/opensock.c
@@ -15,13 +15,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#include <assert.h>
-#include <errno.h>
-#include <stdio.h>
-#include <string.h>
-#include <unistd.h>
#include <sys/socket.h>
-#include <features.h>
+#include <bits/kernel-features.h>
/* Return a socket of any type. The socket can be used in subsequent
ioctl calls to talk to the kernel. */