summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/ld/rtld
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 /gnu/usr.bin/ld/rtld
parent0e4fd55dc208bc4388e93e9803a984f9f4e11d12 (diff)
Userland programs should include <errno.h> not <sys/errno.h>
OK deraadt@
Diffstat (limited to 'gnu/usr.bin/ld/rtld')
-rw-r--r--gnu/usr.bin/ld/rtld/rtld.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/ld/rtld/rtld.c b/gnu/usr.bin/ld/rtld/rtld.c
index fd94cb7e372..e4ed556d508 100644
--- a/gnu/usr.bin/ld/rtld/rtld.c
+++ b/gnu/usr.bin/ld/rtld/rtld.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtld.c,v 1.40 2005/09/30 20:13:12 deraadt Exp $ */
+/* $OpenBSD: rtld.c,v 1.41 2005/12/21 01:40:22 millert Exp $ */
/* $NetBSD: rtld.c,v 1.43 1996/01/14 00:35:17 pk Exp $ */
/*
* Copyright (c) 1993 Paul Kranenburg
@@ -37,12 +37,12 @@
#include <sys/file.h>
#include <sys/time.h>
#include <sys/resource.h>
-#include <sys/errno.h>
#include <sys/mman.h>
#ifndef MAP_COPY
#define MAP_COPY MAP_PRIVATE
#endif
#include <err.h>
+#include <errno.h>
#include <dlfcn.h>
#include <fcntl.h>
#include <a.out.h>