Explicitly include fcntl.h and unistd.h for pipe2
authortb <tb@openbsd.org>
Wed, 22 Jun 2022 10:01:17 +0000 (10:01 +0000)
committertb <tb@openbsd.org>
Wed, 22 Jun 2022 10:01:17 +0000 (10:01 +0000)
regress/lib/libtls/tls/tlstest.c

index 1468423..b856e9d 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: tlstest.c,v 1.13 2021/04/04 16:19:47 tb Exp $ */
+/* $OpenBSD: tlstest.c,v 1.14 2022/06/22 10:01:17 tb Exp $ */
 /*
  * Copyright (c) 2017 Joel Sing <jsing@openbsd.org>
  *
@@ -17,6 +17,9 @@
 
 #include <sys/socket.h>
 
+#include <fcntl.h>
+#include <unistd.h>
+
 #include <err.h>
 #include <fcntl.h>
 #include <stdio.h>