Fix disk_total_space() and disk_free_space() under FreeBSD.
dnl QNX requires unix.h to allow functions in libunix to work properly
AC_CHECK_HEADERS([ \
ApplicationServices/ApplicationServices.h \
+sys/param.h \
sys/types.h \
sys/time.h \
netinet/in.h \
sys/ipc.h \
dlfcn.h
],[],[],[
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
# include <unistd.h>
#endif
+#if HAVE_SYS_PARAM_H
+# include <sys/param.h>
+#endif
+
#if HAVE_SYS_VFS_H
# include <sys/vfs.h>
#endif