summaryrefslogtreecommitdiff
path: root/libexec/ld.so
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-05-18 16:50:32 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-05-18 16:50:32 +0000
commit2760126d0ef61416ad84e14c15adc29410952f2f (patch)
treecbe9d2e35ac8577c713158e10b0dc349e07ffadb /libexec/ld.so
parent374fe03fd5006fd9559760e6ddafad796df82649 (diff)
fix includes scoping; drahn@ ok
Diffstat (limited to 'libexec/ld.so')
-rw-r--r--libexec/ld.so/dir.c7
-rw-r--r--libexec/ld.so/sod.c4
2 files changed, 6 insertions, 5 deletions
diff --git a/libexec/ld.so/dir.c b/libexec/ld.so/dir.c
index a9d12329be3..54c2ac3e4c8 100644
--- a/libexec/ld.so/dir.c
+++ b/libexec/ld.so/dir.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dir.c,v 1.8 2003/07/06 20:03:57 deraadt Exp $ */
+/* $OpenBSD: dir.c,v 1.9 2004/05/18 16:50:31 mickey Exp $ */
/*
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
@@ -32,7 +32,6 @@
static char rcsid[] = ": opendir.c,v 1.6 1998/08/15 08:10:14 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
-#include <syscall.h>
#include <sys/param.h>
#include <sys/mount.h>
#include <sys/stat.h>
@@ -42,8 +41,10 @@ static char rcsid[] = ": opendir.c,v 1.6 1998/08/15 08:10:14 deraadt Exp $";
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include "util.h"
+
+#include "syscall.h"
#include "archdep.h"
+#include "util.h"
#include "dir.h"
long _dl_telldir(const DIR *dirp);
diff --git a/libexec/ld.so/sod.c b/libexec/ld.so/sod.c
index 74e3f031f43..f437c112834 100644
--- a/libexec/ld.so/sod.c
+++ b/libexec/ld.so/sod.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sod.c,v 1.20 2003/11/11 14:51:01 drahn Exp $ */
+/* $OpenBSD: sod.c,v 1.21 2004/05/18 16:50:31 mickey Exp $ */
/*
* Copyright (c) 1993 Paul Kranenburg
@@ -43,8 +43,8 @@
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
-#include <syscall.h>
+#include "syscall.h"
#include "archdep.h"
#include "util.h"
#include "sod.h"