mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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.
This commit is contained in:
parent
b013076737
commit
05e598dc37
1 changed files with 1 additions and 1 deletions
|
|
@ -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> */
|
||||
|
|
|
|||
Loading…
Reference in a new issue