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/rarpd | |
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/rarpd')
-rw-r--r-- | usr.sbin/rarpd/rarpd.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/usr.sbin/rarpd/rarpd.c b/usr.sbin/rarpd/rarpd.c index 8fb06f4..90ca240 100644 --- a/usr.sbin/rarpd/rarpd.c +++ b/usr.sbin/rarpd/rarpd.c @@ -26,7 +26,7 @@ char copyright[] = #ifndef lint static char rcsid[] = - "@(#) $Header: /home/ncvs/src/usr.sbin/rarpd/rarpd.c,v 1.5 1995/07/18 21:35:32 wpaul Exp $ (LBL)"; + "@(#) $Header: /home/ncvs/src/usr.sbin/rarpd/rarpd.c,v 1.6 1996/08/24 23:05:08 wpaul Exp $ (LBL)"; #endif @@ -60,7 +60,11 @@ static char rcsid[] = #include <sys/file.h> #include <netdb.h> -#ifdef SUNOS4 +#if defined(SUNOS4) || defined(__FreeBSD__) /* XXX */ +#define HAVE_DIRENT_H +#endif + +#ifdef HAVE_DIRENT_H #include <dirent.h> #else #include <sys/dir.h> @@ -456,7 +460,7 @@ rarp_bootable(addr) u_long addr; { -#ifdef SUNOS4 +#ifdef HAVE_DIRENT_H register struct dirent *dent; #else register struct direct *dent; |