summaryrefslogtreecommitdiff
path: root/libexec/ld.so/dir.c
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/dir.c
parent374fe03fd5006fd9559760e6ddafad796df82649 (diff)
fix includes scoping; drahn@ ok
Diffstat (limited to 'libexec/ld.so/dir.c')
-rw-r--r--libexec/ld.so/dir.c7
1 files changed, 4 insertions, 3 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);