b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | --- a/fsck_hfs.tproj/fsck_hfs.h |
| 2 | +++ b/fsck_hfs.tproj/fsck_hfs.h |
| 3 | @@ -24,6 +24,7 @@ |
| 4 | |
| 5 | #include "cache.h" |
| 6 | |
| 7 | +#include <sys/cdefs.h> |
| 8 | |
| 9 | const extern char *cdevname; /* name of device being checked */ |
| 10 | extern char *progname; |
| 11 | --- a/newfs_hfs.tproj/makehfs.c |
| 12 | +++ b/newfs_hfs.tproj/makehfs.c |
| 13 | @@ -28,6 +28,7 @@ |
| 14 | |
| 15 | */ |
| 16 | |
| 17 | +#include <sys/cdefs.h> |
| 18 | #include <sys/param.h> |
| 19 | #include <sys/types.h> |
| 20 | #include <sys/time.h> |
| 21 | --- a/newfs_hfs.tproj/newfs_hfs.c |
| 22 | +++ b/newfs_hfs.tproj/newfs_hfs.c |
| 23 | @@ -34,6 +34,7 @@ |
| 24 | #include <syslog.h> |
| 25 | #include <unistd.h> |
| 26 | |
| 27 | +#include <sys/cdefs.h> |
| 28 | #include <sys/ioctl.h> |
| 29 | #include <sys/mount.h> |
| 30 | #include <sys/param.h> |