summaryrefslogtreecommitdiff
path: root/paxlib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-02-20 08:13:29 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-02-20 08:13:29 +0000
commit98ef0f38ea54c86274aff1618f61ee6a2de39054 (patch)
tree649a7e884b32931c958d01f7b80b0df2a4503831 /paxlib
parent7a86488bf7607f5935c36a391f40743cbb32106a (diff)
downloadpaxutils-98ef0f38ea54c86274aff1618f61ee6a2de39054.tar.gz
* lib/DISTFILES: Add system-ioctl.h.
* lib/system.h: Move the MTIO* stuff into.... * lib/system-ioctl.h: New file. That way, the symbols defined by these includes won't collide with the symbols defined by <sys/filio.h> on Solaris when compiling misc.c. * lib/rtapelib.c: Include system-ioctl.h. * paxlib/rtape.c: Likewise. * rmt/rmt.c: Likewise.
Diffstat (limited to 'paxlib')
-rw-r--r--paxlib/rtape.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/paxlib/rtape.c b/paxlib/rtape.c
index 90ac263..fd2a675 100644
--- a/paxlib/rtape.c
+++ b/paxlib/rtape.c
@@ -1,7 +1,7 @@
/* Functions for communicating with a remote tape drive.
- Copyright 1988, 1992, 1994, 1996, 1997, 1999, 2000, 2001, 2004, 2005
- Free Software Foundation, Inc.
+ Copyright (C) 1988, 1992, 1994, 1996, 1997, 1999, 2000, 2001, 2004,
+ 2005, 2006 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -33,6 +33,7 @@
code, courtesy of Dan Kegel. */
#include <system.h>
+#include <system-ioctl.h>
#include <safe-read.h>
#include <full-write.h>
#include "localedir.h"