summaryrefslogtreecommitdiff
path: root/lib/libc/net
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2021-10-22 10:22:16 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2021-10-22 10:22:16 +0000
commitfae6b7105ac909ce0964e749e6ffe2819a9dfcb3 (patch)
treee3a61c1e9313e3318ef46ee9acfb734315baaa6c /lib/libc/net
parent388b6525f49aef2e5a21f5b17beddfd2d147bc59 (diff)
Put back sys/types.h and sys/socket.h. The latter was unintentionally
removed and the former is still needed, as pointed out by kettenis
Diffstat (limited to 'lib/libc/net')
-rw-r--r--lib/libc/net/base64.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/net/base64.c b/lib/libc/net/base64.c
index 7bfcb214d95..5b150d38810 100644
--- a/lib/libc/net/base64.c
+++ b/lib/libc/net/base64.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: base64.c,v 1.11 2021/10/22 09:51:54 tb Exp $ */
+/* $OpenBSD: base64.c,v 1.12 2021/10/22 10:22:15 tb Exp $ */
/*
* Copyright (c) 1996 by Internet Software Consortium.
@@ -42,6 +42,8 @@
* IF IBM IS APPRISED OF THE POSSIBILITY OF SUCH DAMAGES.
*/
+#include <sys/types.h>
+#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>