summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2023-07-19 21:01:29 +0000
committertb <>2023-07-19 21:01:29 +0000
commit3c614dec7a8479b37d8b930d4f5e4bf08d27f341 (patch)
tree903cd538459727391ce7be8e246bbe0fe3ab8a68 /src
parent180c115470e390ea083b0308ee3dda659e20006a (diff)
downloadopenbsd-3c614dec7a8479b37d8b930d4f5e4bf08d27f341.tar.gz
openbsd-3c614dec7a8479b37d8b930d4f5e4bf08d27f341.tar.bz2
openbsd-3c614dec7a8479b37d8b930d4f5e4bf08d27f341.zip
Don't rely on the libssl headers pulling in stdio.h somehow
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libssl/symbols/symbols.awk4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/regress/lib/libssl/symbols/symbols.awk b/src/regress/lib/libssl/symbols/symbols.awk
index b778ebe390..a847ade6d3 100644
--- a/src/regress/lib/libssl/symbols/symbols.awk
+++ b/src/regress/lib/libssl/symbols/symbols.awk
@@ -1,4 +1,4 @@
1# $OpenBSD: symbols.awk,v 1.1.1.1 2023/07/15 19:29:44 tb Exp $ 1# $OpenBSD: symbols.awk,v 1.2 2023/07/19 21:01:29 tb Exp $
2 2
3# Copyright (c) 2018,2020,2023 Theo Buehler <tb@openbsd.org> 3# Copyright (c) 2018,2020,2023 Theo Buehler <tb@openbsd.org>
4# 4#
@@ -17,6 +17,8 @@
17# usage: awk -f symbols.awk < Symbols.list > symbols.c 17# usage: awk -f symbols.awk < Symbols.list > symbols.c
18 18
19BEGIN { 19BEGIN {
20 printf("#include <stdio.h>\n\n")
21
20 printf("#include <openssl/dtls1.h>\n") 22 printf("#include <openssl/dtls1.h>\n")
21 printf("#include <openssl/ssl.h>\n") 23 printf("#include <openssl/ssl.h>\n")
22 printf("#include <openssl/ssl2.h>\n") 24 printf("#include <openssl/ssl2.h>\n")