summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2011-05-01 04:27:08 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2011-05-01 04:27:08 +0000
commit8c0e93fe50c62850a24107982ecf51fe063b9fe7 (patch)
treef3c4cf94148be01934517bba7810a3b822fb05a3 /regress/lib
parent1da14f43bc8cddf40e6a2c8d835ca3d9edea24a5 (diff)
Pull in <string.h> for memset()
Diffstat (limited to 'regress/lib')
-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;