summaryrefslogtreecommitdiff
path: root/libc/inet/opensock.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/opensock.c')
-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. */