summaryrefslogtreecommitdiffstats
path: root/regress/lib/libc
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2011-05-01 04:27:07 +0000
committerguenther <guenther@openbsd.org>2011-05-01 04:27:07 +0000
commitbd2bfaf70c8286b7157df86fe69c8171ac915047 (patch)
tree5ee1e4a4459a0df2c4e44bdab53a6325b94925f0 /regress/lib/libc
parentMake the regress setup not assume the umask is 022 (diff)
downloadwireguard-openbsd-bd2bfaf70c8286b7157df86fe69c8171ac915047.tar.xz
wireguard-openbsd-bd2bfaf70c8286b7157df86fe69c8171ac915047.zip
Pull in <string.h> for memset()
Diffstat (limited to 'regress/lib/libc')
-rw-r--r--regress/lib/libc/netdb/netdb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/lib/libc/netdb/netdb.c b/regress/lib/libc/netdb/netdb.c
index 0082c1bd1be..fabb3ee4e12 100644
--- a/regress/lib/libc/netdb/netdb.c
+++ b/regress/lib/libc/netdb/netdb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: netdb.c,v 1.1 2004/10/25 15:10:36 otto Exp $ */
+/* $OpenBSD: netdb.c,v 1.2 2011/05/01 04:27:07 guenther Exp $ */
/*
* Public domain, 2004, Otto Moerbeek <otto@drijf.net>
@@ -7,6 +7,7 @@
#include <err.h>
#include <netdb.h>
#include <stdarg.h>
+#include <string.h>
int ret = 0;