diff options
-rw-r--r-- | usr.sbin/fdcontrol/fdcontrol.c | 2 | ||||
-rw-r--r-- | usr.sbin/fdformat/fdformat.c | 2 | ||||
-rw-r--r-- | usr.sbin/fdread/fdread.c | 3 | ||||
-rw-r--r-- | usr.sbin/fdwrite/fdwrite.c | 2 |
4 files changed, 4 insertions, 5 deletions
diff --git a/usr.sbin/fdcontrol/fdcontrol.c b/usr.sbin/fdcontrol/fdcontrol.c index 2d9511e..6e522bd 100644 --- a/usr.sbin/fdcontrol/fdcontrol.c +++ b/usr.sbin/fdcontrol/fdcontrol.c @@ -34,8 +34,8 @@ static const char rcsid[] = #include <stdio.h> #include <stdlib.h> #include <unistd.h> -#include <machine/ioctl_fd.h> #include <sys/file.h> +#include <sys/fdcio.h> int getnumber(void) diff --git a/usr.sbin/fdformat/fdformat.c b/usr.sbin/fdformat/fdformat.c index 0424df4..15d4891 100644 --- a/usr.sbin/fdformat/fdformat.c +++ b/usr.sbin/fdformat/fdformat.c @@ -49,7 +49,7 @@ #include <strings.h> #include <unistd.h> -#include <machine/ioctl_fd.h> +#include <sys/fdcio.h> static void format_track(int fd, int cyl, int secs, int head, int rate, diff --git a/usr.sbin/fdread/fdread.c b/usr.sbin/fdread/fdread.c index 6f0795b..581fd51 100644 --- a/usr.sbin/fdread/fdread.c +++ b/usr.sbin/fdread/fdread.c @@ -28,8 +28,7 @@ #include <sys/types.h> #include <sys/stat.h> - -#include <machine/ioctl_fd.h> +#include <sys/fdcio.h> #include <err.h> #include <errno.h> diff --git a/usr.sbin/fdwrite/fdwrite.c b/usr.sbin/fdwrite/fdwrite.c index 00279c5..0a40ada 100644 --- a/usr.sbin/fdwrite/fdwrite.c +++ b/usr.sbin/fdwrite/fdwrite.c @@ -19,7 +19,7 @@ #include <strings.h> #include <unistd.h> -#include <machine/ioctl_fd.h> +#include <sys/fdcio.h> int format_track(int fd, int cyl, int secs, int head, int rate, |