diff options
author | bde <bde@FreeBSD.org> | 1996-09-24 08:08:11 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-09-24 08:08:11 +0000 |
commit | d2512c2bf99a15faab2ee38b498042767afbfc50 (patch) | |
tree | a7dcc2bf16ed815097f05a03a82f3f704338c35d /usr.sbin/amd | |
parent | 1ba7894bc0e2cb3f9e9a098a97edce8d61d95f8f (diff) | |
download | FreeBSD-src-d2512c2bf99a15faab2ee38b498042767afbfc50.zip FreeBSD-src-d2512c2bf99a15faab2ee38b498042767afbfc50.tar.gz |
Eliminated includes of the "temporary" backwards compatibility header
<sys/dir.h> in applications. Maintained existing (inadequate) ifdefs
for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any
new ones.
Diffstat (limited to 'usr.sbin/amd')
-rw-r--r-- | usr.sbin/amd/amd/info_union.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/amd/amd/info_union.c b/usr.sbin/amd/amd/info_union.c index e3062ad..07e44a1 100644 --- a/usr.sbin/amd/amd/info_union.c +++ b/usr.sbin/amd/amd/info_union.c @@ -37,7 +37,7 @@ * * @(#)info_union.c 8.1 (Berkeley) 6/6/93 * - * $Id: info_union.c,v 5.2.2.1 1992/02/09 15:08:34 jsp beta $ + * $Id: info_union.c,v 1.1.1.1 1994/05/26 05:22:03 rgrimes Exp $ * */ @@ -52,7 +52,9 @@ #ifdef HAS_UNION_MAPS -#ifdef _POSIX_SOURCE +#include <unistd.h> /* for _POSIX_VERSION ifdef */ + +#if defined(_POSIX_SOURCE) || defined(_POSIX_VERSION) #include <dirent.h> #define DIRENT struct dirent #else |