summaryrefslogtreecommitdiffstats
path: root/regress/lib/libc
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-10-18 23:27:43 +0000
committerguenther <guenther@openbsd.org>2015-10-18 23:27:43 +0000
commitbb7e2581a18437707f96afc20b9eff8de35b960b (patch)
tree9a89e1dad7b188868f0fac5781bdf414c45adc38 /regress/lib/libc
parentpledge bgplg(8). (diff)
downloadwireguard-openbsd-bb7e2581a18437707f96afc20b9eff8de35b960b.tar.xz
wireguard-openbsd-bb7e2581a18437707f96afc20b9eff8de35b960b.zip
Need <string.h> for memset()
Diffstat (limited to 'regress/lib/libc')
-rw-r--r--regress/lib/libc/sleep/sleep_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/lib/libc/sleep/sleep_test.c b/regress/lib/libc/sleep/sleep_test.c
index c9ab0d095fe..4c7764375dd 100644
--- a/regress/lib/libc/sleep/sleep_test.c
+++ b/regress/lib/libc/sleep/sleep_test.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sleep_test.c,v 1.1 2009/12/14 05:08:19 guenther Exp $ */
+/* $OpenBSD: sleep_test.c,v 1.2 2015/10/18 23:27:43 guenther Exp $ */
/*
* Copyright (c) 2009 Philip Guenther
@@ -41,6 +41,7 @@
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
static void