--- projects/libstatgrab/src/libstatgrab/disk_stats.c 2004/02/13 16:46:21 1.52 +++ projects/libstatgrab/src/libstatgrab/disk_stats.c 2004/02/16 14:55:32 1.53 @@ -18,7 +18,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA * 02111-1307 USA * - * $Id: disk_stats.c,v 1.52 2004/02/13 16:46:21 tdb Exp $ + * $Id: disk_stats.c,v 1.53 2004/02/16 14:55:32 tdb Exp $ */ #ifdef HAVE_CONFIG_H @@ -61,7 +61,7 @@ #include #include #endif -#ifdef FREEBSD +#if defined(FREEBSD) || defined(DFBSD) #include #include #define VALID_FS_TYPES {"hpfs", "msdosfs", "ntfs", "udf", "ext2fs", \ @@ -349,7 +349,7 @@ diskio_stat_t *get_diskio_stats(int *entries){ time_t now; const char *format; #endif -#ifdef FREEBSD +#if defined(FREEBSD) || defined(DFBSD) static struct statinfo stats; static int stats_init = 0; int counter; @@ -489,7 +489,7 @@ diskio_stat_t *get_diskio_stats(int *entries){ #endif #endif -#ifdef FREEBSD +#if defined(FREEBSD) || defined(DFBSD) if (!stats_init) { stats.dinfo=malloc(sizeof(struct devinfo)); if(stats.dinfo==NULL) return NULL;