From 854db695f9a643b969aab86d76602dbb1666cc10 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Wed, 22 Jun 2005 14:47:19 +0000 Subject: [PATCH] hpux11-vfsck-20050622 make vfsck build for hpux --- Makefile.in | 2 +- src/vfsck/libfs.h | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 src/vfsck/libfs.h diff --git a/Makefile.in b/Makefile.in index 1e4cd1ff38..09424b8f6c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -283,7 +283,7 @@ bozo: cmd comerr audit vfsck: vol set -x; \ case ${SYS_NAME} in \ - sgi_* | *linux* | rs_aix42 | *_darwin* | hp_ux* | ia64_hpux* | *fbsd* | *_obsd* | *_nbsd* | sun*_4* | rs_aix5* ) \ + sgi_* | *linux* | rs_aix42 | *_darwin* | ia64_hpux* | *fbsd* | *_obsd* | *_nbsd* | sun*_4* | rs_aix5* ) \ echo skip vfsck for ${SYS_NAME} ;; \ * ) \ ${COMPILE_PART1} vfsck ${COMPILE_PART2} ;; \ diff --git a/src/vfsck/libfs.h b/src/vfsck/libfs.h new file mode 100644 index 0000000000..cc5bbcbaae --- /dev/null +++ b/src/vfsck/libfs.h @@ -0,0 +1,6 @@ +#include /* For UFS_*(fs) macro definitions */ + +#define BLKSEEK_PROCESSING_ERROR (-2) +#define BLKSEEK_FILE_WRITEONLY (-1) +#define BLKSEEK_NOT_ENABLED 0 +#define BLKSEEK_ENABLED 1