--- a/fsck_hfs.tproj/fsck_hfs.h +++ b/fsck_hfs.tproj/fsck_hfs.h @@ -24,6 +24,7 @@ #include "cache.h" +#include const extern char *cdevname; /* name of device being checked */ extern char *progname; --- a/newfs_hfs.tproj/makehfs.c +++ b/newfs_hfs.tproj/makehfs.c @@ -28,6 +28,7 @@ */ +#include #include #include #include --- a/newfs_hfs.tproj/newfs_hfs.c +++ b/newfs_hfs.tproj/newfs_hfs.c @@ -34,6 +34,7 @@ #include #include +#include #include #include #include