diff options
author | 2012-03-22 04:11:53 +0000 | |
---|---|---|
committer | 2012-03-22 04:11:53 +0000 | |
commit | e55576ca586feb852d7d9044bd637f0e55131029 (patch) | |
tree | 7d257fd2705586c2ba8713c384afea5af8f4954e /lib/libc/gen/readdir.c | |
parent | Hide behind #if 0 the sched_*() functions that we don't have yet (diff) | |
download | wireguard-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.c | 3 |
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" /* |