summaryrefslogtreecommitdiff
path: root/libc/inet
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-01-17 18:29:22 (GMT)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-01-17 18:31:39 (GMT)
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 3373f34..ac72890 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. */