X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=dump%2Ftape.c;h=2df4d1e242772338f88bce5b9cf6bbd5e4b48cc7;hb=585ca01a9a2ed1ce197c44a33f5a1fde06adbef7;hp=d615960b1dc05b3cedfde591d9ed50002e041dca;hpb=e1e4be20b0192a2988eab70a31fb1428c4c81eec;p=dump.git 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