From e55576ca586feb852d7d9044bd637f0e55131029 Mon Sep 17 00:00:00 2001 From: matthew Date: Thu, 22 Mar 2012 04:11:53 +0000 Subject: Make DIR a private type within libc, give it the same underlying typedef regardless of __BSD_VISIBLE, and eliminate the dirfd() macro. ok guenther@ --- lib/libc/gen/readdir_r.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/libc/gen/readdir_r.c') diff --git a/lib/libc/gen/readdir_r.c b/lib/libc/gen/readdir_r.c index 04a7fdc953f..f32d08a7044 100644 --- a/lib/libc/gen/readdir_r.c +++ b/lib/libc/gen/readdir_r.c @@ -1,4 +1,4 @@ -/* $OpenBSD: readdir_r.c,v 1.1 2009/11/18 07:43:22 guenther Exp $ */ +/* $OpenBSD: readdir_r.c,v 1.2 2012/03/22 04:11:53 matthew Exp $ */ /* * Copyright (c) 1983, 1993 * The Regents of the University of California. All rights reserved. @@ -32,6 +32,7 @@ #include #include #include +#include "telldir.h" #include "thread_private.h" int -- cgit v1.2.3-59-g8ed1b