=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/stats.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- src/usr.bin/make/stats.c 2001/05/03 13:41:10 1.1 +++ src/usr.bin/make/stats.c 2001/05/23 12:34:49 1.2 @@ -1,5 +1,5 @@ /* $OpenPackages$ */ -/* $OpenBSD: stats.c,v 1.1 2001/05/03 13:41:10 espie Exp $ */ +/* $OpenBSD: stats.c,v 1.2 2001/05/23 12:34:49 espie Exp $ */ /* * Copyright (c) 1999 Marc Espie. @@ -35,7 +35,8 @@ to allow for concurrent adjustment to variables. */ -#include "make.h" +#include "config.h" +#include "defines.h" #include "stats.h" #ifdef HAS_STATS @@ -50,7 +51,7 @@ static float average_runs(unsigned long val); unsigned long *statarray; -static Boolean mmapped = FALSE; +static bool mmapped = false; static float average_runs(val) @@ -154,7 +155,7 @@ PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); if (statarray == MAP_FAILED) exit(1); - mmapped = TRUE; + mmapped = true; } } else /* or we don't -> simple stats gathering */