Hi Chris.

   The header file sys/statfs.h doesn't exist on the system. The statfs
   struct is defined in /usr/include/sys/mount.h, but I'm not sure what I
   need to configure differently in order for the correct header file to
   be included. Any help that anyone can offer is appreciated.

I guess that we should define PDF_HOST_BSD if compiling in macosx (it
is a bsd-like system).  Can you please check that it is compiling
properly when including sys/param.h and sys/mount.h instead of
sys/statfs.h?

I simplified a bit the preprocessor sentences in pdf-fsys-disk.c to
not use a pasive expression.  Now it reads:

#if defined(PDF_HOST_WIN32) || defined(PDF_HOST_BSD)
#   include <sys/param.h>
#   include <sys/mount.h>
#else
#   include <sys/statfs.h>
#endif /* PDF_HOST_WIN32 | PDF_HOST_BSD */

-- 
Jose E. Marchesi    jema...@gnu.org
GNU Project         http://www.gnu.org


Reply via email to