projects
/
xfstests-dev.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0b60dba
)
make compilable on IRIX
author
Andrew Gildfind
<ajag@sgi.com>
Mon, 2 Apr 2001 06:47:02 +0000
(06:47 +0000)
committer
Andrew Gildfind
<ajag@sgi.com>
Mon, 2 Apr 2001 06:47:02 +0000
(06:47 +0000)
src/fill2.c
patch
|
blob
|
history
diff --git
a/src/fill2.c
b/src/fill2.c
index 6108ec1f5edb8d78f045c52f9ad33cd3256bae8d..3615b8596f838058690e056b6a69b009ebbba357 100644
(file)
--- 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.
*
* 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$
*/
* $Id$
*/
-
-#include <libxfs.h>
+#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
#include <errno.h>
#include <errno.h>
+#include <unistd.h>
+#include <libgen.h>
+#include <assert.h>
+
+#ifndef TOOL_ONLY
+#include <platform_defs.h>
+#else
+#define constpp char * const *
+#endif /* TOOL_ONLY */
#define N(x) (sizeof(x)/sizeof(x[0]))
#define N(x) (sizeof(x)/sizeof(x[0]))