X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ffileblocks.c;h=83ac04fd6e1a3da7cbee16f0807d469683fc3044;hb=9399ec2583eedf5a9f9b76baae196d613d6035d7;hp=23dee981502164ad20befcefaa0dbed4927e0a7c;hpb=d87c39464604e74f580c7fae835be31a4c125c36;p=gnulib.git diff --git a/lib/fileblocks.c b/lib/fileblocks.c index 23dee9815..83ac04fd6 100644 --- a/lib/fileblocks.c +++ b/lib/fileblocks.c @@ -17,6 +17,10 @@ /* Written by Brian L. Matthews, blm@6sceng.UUCP. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #if !defined (HAVE_ST_BLOCKS) && !defined(_POSIX_SOURCE) #include #include @@ -24,7 +28,9 @@ #ifndef NINDIR /* Some SysV's, like Irix, seem to lack these. Hope they're correct. */ /* Size of a indirect block, in bytes. */ +#ifndef BSIZE #define BSIZE 1024 +#endif /* Number of inode pointers per indirect block. */ #define NINDIR (BSIZE/sizeof(daddr_t))