summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/ptrace.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2005-12-21 01:40:22 +0000
committermillert <millert@openbsd.org>2005-12-21 01:40:22 +0000
commitae5feee3506f1aa5259009ab0dd200f8b10a80e8 (patch)
tree971a43b49d285f8c2fb3bf3dfddffcf524907723 /lib/libc/sys/ptrace.c
parentmake alloc_stack take an optional base, preparation for stack attributes (diff)
downloadwireguard-openbsd-ae5feee3506f1aa5259009ab0dd200f8b10a80e8.tar.xz
wireguard-openbsd-ae5feee3506f1aa5259009ab0dd200f8b10a80e8.zip
Userland programs should include <errno.h> not <sys/errno.h>
OK deraadt@
Diffstat (limited to 'lib/libc/sys/ptrace.c')
-rw-r--r--lib/libc/sys/ptrace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/ptrace.c b/lib/libc/sys/ptrace.c
index 7c6d83333e9..62d4a941adb 100644
--- a/lib/libc/sys/ptrace.c
+++ b/lib/libc/sys/ptrace.c
@@ -1,9 +1,9 @@
-/* $OpenBSD: ptrace.c,v 1.3 2003/06/11 21:03:10 deraadt Exp $ */
+/* $OpenBSD: ptrace.c,v 1.4 2005/12/21 01:40:23 millert Exp $ */
/* David Leonard <d@openbsd.org>, 1999. Public domain. */
#include <sys/types.h>
#include <sys/ptrace.h>
-#include <sys/errno.h>
+#include <errno.h>
int _ptrace(int, pid_t, caddr_t, int);