summaryrefslogtreecommitdiff
path: root/src/regress/lib
diff options
context:
space:
mode:
authortb <>2022-06-22 10:01:17 +0000
committertb <>2022-06-22 10:01:17 +0000
commite03bc5f43e4a40b58624b52b3835dee00efcf87e (patch)
tree7ca55d795443030a68c6f1cef0e7892498b7a3d5 /src/regress/lib
parent0e473539dd27358083fe5ecf12e7f260abc090ab (diff)
downloadopenbsd-e03bc5f43e4a40b58624b52b3835dee00efcf87e.tar.gz
openbsd-e03bc5f43e4a40b58624b52b3835dee00efcf87e.tar.bz2
openbsd-e03bc5f43e4a40b58624b52b3835dee00efcf87e.zip
Explicitly include fcntl.h and unistd.h for pipe2
Diffstat (limited to 'src/regress/lib')
-rw-r--r--src/regress/lib/libtls/tls/tlstest.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/regress/lib/libtls/tls/tlstest.c b/src/regress/lib/libtls/tls/tlstest.c
index 146842316f..b856e9d789 100644
--- a/src/regress/lib/libtls/tls/tlstest.c
+++ b/src/regress/lib/libtls/tls/tlstest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tlstest.c,v 1.13 2021/04/04 16:19:47 tb Exp $ */ 1/* $OpenBSD: tlstest.c,v 1.14 2022/06/22 10:01:17 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2017 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2017 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -17,6 +17,9 @@
17 17
18#include <sys/socket.h> 18#include <sys/socket.h>
19 19
20#include <fcntl.h>
21#include <unistd.h>
22
20#include <err.h> 23#include <err.h>
21#include <fcntl.h> 24#include <fcntl.h>
22#include <stdio.h> 25#include <stdio.h>