summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/readdir.c
diff options
context:
space:
mode:
authormatthew <matthew@openbsd.org>2012-03-22 04:11:53 +0000
committermatthew <matthew@openbsd.org>2012-03-22 04:11:53 +0000
commite55576ca586feb852d7d9044bd637f0e55131029 (patch)
tree7d257fd2705586c2ba8713c384afea5af8f4954e /lib/libc/gen/readdir.c
parentHide behind #if 0 the sched_*() functions that we don't have yet (diff)
downloadwireguard-openbsd-e55576ca586feb852d7d9044bd637f0e55131029.tar.xz
wireguard-openbsd-e55576ca586feb852d7d9044bd637f0e55131029.zip
Make DIR a private type within libc, give it the same underlying
typedef regardless of __BSD_VISIBLE, and eliminate the dirfd() macro. ok guenther@
Diffstat (limited to 'lib/libc/gen/readdir.c')
-rw-r--r--lib/libc/gen/readdir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gen/readdir.c b/lib/libc/gen/readdir.c
index bbf178b0c42..eb9216219cb 100644
--- a/lib/libc/gen/readdir.c
+++ b/lib/libc/gen/readdir.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: readdir.c,v 1.16 2012/02/04 23:02:40 guenther Exp $ */
+/* $OpenBSD: readdir.c,v 1.17 2012/03/22 04:11:53 matthew Exp $ */
/*
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
@@ -30,6 +30,7 @@
#include <dirent.h>
#include <errno.h>
+#include "telldir.h"
#include "thread_private.h"
/*