summaryrefslogtreecommitdiff
path: root/utils/vmstat.c
diff options
context:
space:
mode:
authorDavid Michael <fedora.dm0@gmail.com>2013-05-01 21:10:34 -0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-05-05 23:30:47 +0200
commit202339d49461ce6dcffd3a5b3690537daea5ef38 (patch)
treefad92f006c8f380a01a847788e72805da60b2dfb /utils/vmstat.c
parentb6fe0d45cf69841f631b0e3991c6a0a7d9b4c9df (diff)
utils/vmstat: Use gnumach.defs from gnumach
The gnumach installation provides the include file mach/gnumach.defs instead of mach/gnumach.h. This runs the defs file through MIG and builds the result for vmstat. * utils/vmstat.c: Replace <mach/gnumach.h> with "gnumach_U.h". * utils/Makefile (vmstat): Add rule to depend on gnumach_U.o. * Makeconf (mach_defs_names): Add gnumach.
Diffstat (limited to 'utils/vmstat.c')
-rw-r--r--utils/vmstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/vmstat.c b/utils/vmstat.c
index e3944848..90d128ff 100644
--- a/utils/vmstat.c
+++ b/utils/vmstat.c
@@ -27,8 +27,8 @@
#include <fcntl.h>
#include <version.h>
+#include "gnumach_U.h"
#include <mach.h>
-#include <mach/gnumach.h>
#include <mach/vm_statistics.h>
#include <mach/vm_cache_statistics.h>
#include <mach/default_pager.h>