summaryrefslogtreecommitdiff
path: root/usr.bin/systat/malloc.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-16 00:03:39 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-16 00:03:39 +0000
commit3ac4c762270cc234339783681ac2bb1a6f348783 (patch)
tree273a84f9b8743c569ce12325ddcc19d944cd7a10 /usr.bin/systat/malloc.c
parent9cfecc3be5cf6ce688b9511f20bf68f74b38a4c1 (diff)
first batch of programs adapting to the namespace cleanup
(pfvar.h nameser.h proc.h ucred.h) ok guenther millert, and some review from doug as well.
Diffstat (limited to 'usr.bin/systat/malloc.c')
-rw-r--r--usr.bin/systat/malloc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/systat/malloc.c b/usr.bin/systat/malloc.c
index 7d93c396030..bd7fb631547 100644
--- a/usr.bin/systat/malloc.c
+++ b/usr.bin/systat/malloc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: malloc.c,v 1.2 2011/03/02 06:48:17 jasper Exp $ */
+/* $OpenBSD: malloc.c,v 1.3 2015/01/16 00:03:37 deraadt Exp $ */
/*
* Copyright (c) 2008 Can Erkin Acar <canacar@openbsd.org>
*
@@ -16,12 +16,13 @@
*/
#include <sys/types.h>
-#include <sys/param.h>
+#include <sys/signal.h>
#include <sys/sysctl.h>
#include <sys/malloc.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
+#include <limits.h>
#include "systat.h"