Put back sys/types.h and sys/socket.h. The latter was unintentionally
authortb <tb@openbsd.org>
Fri, 22 Oct 2021 10:22:15 +0000 (10:22 +0000)
committertb <tb@openbsd.org>
Fri, 22 Oct 2021 10:22:15 +0000 (10:22 +0000)
removed and the former is still needed, as pointed out by kettenis

lib/libc/net/base64.c

index 7bfcb21..5b150d3 100644 (file)
@@ -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>