X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=dump%2Ftape.c;h=2df4d1e242772338f88bce5b9cf6bbd5e4b48cc7;hp=d615960b1dc05b3cedfde591d9ed50002e041dca;hb=9e3c33e5f154bae655a7e2e5b9a8f8b190791245;hpb=e1e4be20b0192a2988eab70a31fb1428c4c81eec diff --git a/dump/tape.c b/dump/tape.c index d615960..2df4d1e 100644 --- a/dump/tape.c +++ b/dump/tape.c @@ -37,7 +37,7 @@ #ifndef lint static const char rcsid[] = - "$Id: tape.c,v 1.85 2004/07/01 09:14:49 stelian Exp $"; + "$Id: tape.c,v 1.86 2004/07/07 11:07:29 stelian Exp $"; #endif /* not lint */ #include @@ -60,7 +60,11 @@ int write(), read(); #ifdef __linux__ #include #include -#include /* for definition of BLKFLSBUF */ +#include +#include /* for definition of BLKFLSBUF */ +#ifndef BLKFLSBUF /* last resort... */ +#define BLKFLSBUF _IO(0x12, 97) /* Flush buffer cache. */ +#endif #include #endif #include