summaryrefslogtreecommitdiff
path: root/usr.bin/make/stats.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-05-29 12:53:49 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-05-29 12:53:49 +0000
commit14959b87a7868b8591017204f0844a5d4bb29a42 (patch)
treef685e41abdfa80732cf331c96a58b6b56ef70970 /usr.bin/make/stats.c
parentb6985ed543fc10d606789bf3477ec48cc4a3bf2d (diff)
Take includes out of lst.h, re-add what's needed to separate files.
Removes remaining lint stuff from lst.lib.
Diffstat (limited to 'usr.bin/make/stats.c')
-rw-r--r--usr.bin/make/stats.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/make/stats.c b/usr.bin/make/stats.c
index 25b2f1a6731..734922fd7de 100644
--- a/usr.bin/make/stats.c
+++ b/usr.bin/make/stats.c
@@ -1,5 +1,5 @@
/* $OpenPackages$ */
-/* $OpenBSD: stats.c,v 1.2 2001/05/23 12:34:49 espie Exp $ */
+/* $OpenBSD: stats.c,v 1.3 2001/05/29 12:53:43 espie Exp $ */
/*
* Copyright (c) 1999 Marc Espie.
@@ -40,11 +40,14 @@
#include "stats.h"
#ifdef HAS_STATS
-#include <stdio.h>
#include <fcntl.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <sys/time.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/resource.h>
+#include "memory.h"
static void print_stats(void);
void Init_Stats(void);