summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-01-22 00:36:31 +0000
committerguenther <guenther@openbsd.org>2014-01-22 00:36:31 +0000
commit68f97adb3fd48ef64e7aba65d56353c90c106d2b (patch)
tree8a83fb93f21914aefae4a125ce5219ea1c80f090
parentrelax the cfg file secrecy check slightly to allow group readability (diff)
downloadwireguard-openbsd-68f97adb3fd48ef64e7aba65d56353c90c106d2b.tar.xz
wireguard-openbsd-68f97adb3fd48ef64e7aba65d56353c90c106d2b.zip
Missing #include
-rw-r--r--regress/sys/kern/ptrace/ptrace.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/sys/kern/ptrace/ptrace.c b/regress/sys/kern/ptrace/ptrace.c
index bb07185d1d2..69adac37ae1 100644
--- a/regress/sys/kern/ptrace/ptrace.c
+++ b/regress/sys/kern/ptrace/ptrace.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ptrace.c,v 1.2 2005/07/20 16:16:04 art Exp $ */
+/* $OpenBSD: ptrace.c,v 1.3 2014/01/22 00:36:31 guenther Exp $ */
/*
* Copyright (c) 2005 Artur Grabowski <art@openbsd.org>
*
@@ -21,6 +21,7 @@
#include <sys/wait.h>
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <unistd.h>
#include <signal.h>
#include <errno.h>