summaryrefslogtreecommitdiff
path: root/gnu
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
parent0e4fd55dc208bc4388e93e9803a984f9f4e11d12 (diff)
Userland programs should include <errno.h> not <sys/errno.h>
OK deraadt@
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/ld/rtld/rtld.c4
-rw-r--r--gnu/usr.bin/ld/warnings.c3
2 files changed, 3 insertions, 4 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>
diff --git a/gnu/usr.bin/ld/warnings.c b/gnu/usr.bin/ld/warnings.c
index 0b4dafaa28f..448a517d6ee 100644
--- a/gnu/usr.bin/ld/warnings.c
+++ b/gnu/usr.bin/ld/warnings.c
@@ -1,4 +1,4 @@
-/* * $OpenBSD: warnings.c,v 1.10 2003/04/16 02:15:10 deraadt Exp $*/
+/* * $OpenBSD: warnings.c,v 1.11 2005/12/21 01:40:22 millert Exp $*/
/*
*/
@@ -7,7 +7,6 @@
#include <sys/stat.h>
#include <sys/file.h>
#include <sys/time.h>
-#include <sys/errno.h>
#include <err.h>
#include <stdio.h>
#include <stdlib.h>