36 |
|
#include <stdio.h> |
37 |
|
#include <string.h> |
38 |
|
#endif |
39 |
< |
#ifdef FREEBSD |
39 |
> |
#if defined(FREEBSD) || defined(DFBSD) |
40 |
|
#ifdef FREEBSD5 |
41 |
|
#include <sys/param.h> |
42 |
|
#include <sys/sysctl.h> |
66 |
|
char *line_ptr; |
67 |
|
unsigned long long value; |
68 |
|
#endif |
69 |
< |
#ifdef FREEBSD |
69 |
> |
#if defined(FREEBSD) || defined(DFBSD) |
70 |
|
int pagesize; |
71 |
|
#ifdef FREEBSD5 |
72 |
|
struct xswdev xsw; |
113 |
|
fclose(f); |
114 |
|
swap_stat.used = swap_stat.total - swap_stat.free; |
115 |
|
#endif |
116 |
< |
#ifdef FREEBSD |
116 |
> |
#if defined(FREEBSD) || defined(DFBSD) |
117 |
|
pagesize=getpagesize(); |
118 |
|
|
119 |
|
#ifdef FREEBSD5 |