From d14ba95853a7aeeb754b90e278855b8eb2dfcc44 Mon Sep 17 00:00:00 2001 From: Andrew Gildfind Date: Mon, 2 Apr 2001 06:47:02 +0000 Subject: [PATCH] make compilable on IRIX --- src/fill2.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/fill2.c b/src/fill2.c index 6108ec1f..3615b859 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])) -- 2.47.3