summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-12-21 01:40:26 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-12-21 01:40:26 +0000
commit1534bb5e4074929a07f1fcc1195962967d5508ce (patch)
tree81d07eb491e2cc01134d574bdb6da9a6ffa56bf8 /lib/libc/sys
parent0e4fd55dc208bc4388e93e9803a984f9f4e11d12 (diff)
Userland programs should include <errno.h> not <sys/errno.h>
OK deraadt@
Diffstat (limited to 'lib/libc/sys')
-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);