diff options
author | bde <bde@FreeBSD.org> | 1994-08-28 16:04:56 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1994-08-28 16:04:56 +0000 |
commit | 6d1bd3be6092dd58a39fa48c647d59fb1a10f8a6 (patch) | |
tree | ef7a5ae93fced7c407a07cefae1f40f86bdf0120 /gnu/libexec | |
parent | 6f4fdb72c187027894b619aa628053bb2557eccf (diff) | |
download | FreeBSD-src-6d1bd3be6092dd58a39fa48c647d59fb1a10f8a6.zip FreeBSD-src-6d1bd3be6092dd58a39fa48c647d59fb1a10f8a6.tar.gz |
We do have <dirent.h>, and it was harmful to pretend that we don't.
Several files in uucp/libunix included <sys/dir.h> and defined dirent
as direct, but <sys/dir.h> defines direct as dirent. This macro
recursion is not allowed by cpp in traditional mode. The 2.0 mkdep
uses cpp in traditional mode (another bug) so cpp prints a error
message and exits with a nonzero status. The error status leaks out
of the pipe (another bug) so mkdep "succeeds". It may even succeed.
Diffstat (limited to 'gnu/libexec')
-rw-r--r-- | gnu/libexec/uucp/common_sources/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/libexec/uucp/common_sources/config.h b/gnu/libexec/uucp/common_sources/config.h index b7f55c7..c9fe336 100644 --- a/gnu/libexec/uucp/common_sources/config.h +++ b/gnu/libexec/uucp/common_sources/config.h @@ -26,7 +26,7 @@ #define HAVE_TIME_H 1 /* <time.h> */ #define HAVE_SYS_WAIT_H 1 /* <sys/wait.h> */ #define HAVE_SYS_IOCTL_H 1 /* <sys/ioctl.h> */ -#define HAVE_DIRENT_H 0 /* <dirent.h> */ +#define HAVE_DIRENT_H 1 /* <dirent.h> */ #define HAVE_MEMORY_H 1 /* <memory.h> */ #define HAVE_SYS_PARAM_H 1 /* <sys/param.h> */ #define HAVE_UTIME_H 1 /* <utime.h> */ |