summaryrefslogtreecommitdiff
path: root/lib/libtls/tls_util.c
diff options
context:
space:
mode:
authorOmar Polo <op@cvs.openbsd.org>2023-05-14 07:26:26 +0000
committerOmar Polo <op@cvs.openbsd.org>2023-05-14 07:26:26 +0000
commit813a656438be2654adb1d93e7aaa16acb1d6265b (patch)
treeb28d8f0a4010573816f863c2e9b0ab52d51f1727 /lib/libtls/tls_util.c
parentfb67dac3b5d6bca52d68388b06c0a9c03f6bb4d4 (diff)
add missing #include <string.h>; ok tb@
Diffstat (limited to 'lib/libtls/tls_util.c')
-rw-r--r--lib/libtls/tls_util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libtls/tls_util.c b/lib/libtls/tls_util.c
index d8103a506cc..b276d2cfa78 100644
--- a/lib/libtls/tls_util.c
+++ b/lib/libtls/tls_util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls_util.c,v 1.15 2021/08/16 13:54:38 tb Exp $ */
+/* $OpenBSD: tls_util.c,v 1.16 2023/05/14 07:26:25 op Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
* Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
@@ -20,6 +20,7 @@
#include <sys/stat.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include <fcntl.h>