From: Andrew Gildfind Date: Mon, 2 Apr 2001 06:47:02 +0000 (+0000) Subject: make compilable on IRIX X-Git-Tag: v1.1.0~1284 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=d14ba95853a7aeeb754b90e278855b8eb2dfcc44;p=users%2Fhch%2Fxfstests-dev.git make compilable on IRIX --- diff --git a/src/fill2.c b/src/fill2.c index 6108ec1f5..3615b8596 100644 --- a/src/fill2.c +++ b/src/fill2.c @@ -44,12 +44,24 @@ * needed by fill2fs to ensure that the number of bytes written is accurately * determined. * + * To compile standalone on IRIX: cc -DTOOL_ONLY -o fill2 fill2.c -lgen + * * $Id$ */ - -#include +#include +#include +#include #include +#include +#include +#include + +#ifndef TOOL_ONLY +#include +#else +#define constpp char * const * +#endif /* TOOL_ONLY */ #define N(x) (sizeof(x)/sizeof(x[0]))