summaryrefslogtreecommitdiff
path: root/archivers/pax/files/ar_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/pax/files/ar_io.c')
-rw-r--r--archivers/pax/files/ar_io.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/archivers/pax/files/ar_io.c b/archivers/pax/files/ar_io.c
index 127ed2a1a10..98a1949a2a5 100644
--- a/archivers/pax/files/ar_io.c
+++ b/archivers/pax/files/ar_io.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ar_io.c,v 1.10 2007/03/08 17:18:18 rillig Exp $ */
+/* $NetBSD: ar_io.c,v 1.11 2007/09/06 20:10:22 joerg Exp $ */
/*-
* Copyright (c) 1992 Keith Muller.
@@ -48,7 +48,7 @@
#if 0
static char sccsid[] = "@(#)ar_io.c 8.2 (Berkeley) 4/18/94";
#else
-__RCSID("$NetBSD: ar_io.c,v 1.10 2007/03/08 17:18:18 rillig Exp $");
+__RCSID("$NetBSD: ar_io.c,v 1.11 2007/09/06 20:10:22 joerg Exp $");
#endif
#endif /* not lint */
@@ -67,12 +67,11 @@ __RCSID("$NetBSD: ar_io.c,v 1.10 2007/03/08 17:18:18 rillig Exp $");
#if HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#endif
-#if HAVE_SYS_TAPE_H
-#include <sys/tape.h>
-#include "tape_h_fixup.h"
-#endif
#if HAVE_SYS_MTIO_H
#include <sys/mtio.h>
+#elif HAVE_SYS_TAPE_H
+#include <sys/tape.h>
+#include "tape_h_fixup.h"
#endif
#if HAVE_SYS_WAIT_H
#include <sys/wait.h>