summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2015-02-13 13:35:04 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2015-02-13 13:35:04 +0000
commit916481814cd1851549bb67fd2caabdd52cb71795 (patch)
tree4f024dd4f98c6dd428e557a3acd6955f115a17dc /sys/kern
parenteba783c920ffe8a6e26a594f1dbbd60075e10c59 (diff)
Include sys/stdint.h for SIZE_MAX instead of relying on the misplaced
define in sys/limits.h. OK guenther@
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_malloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c
index 283afaf1cb8..80dc4150bb8 100644
--- a/sys/kern/kern_malloc.c
+++ b/sys/kern/kern_malloc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_malloc.c,v 1.126 2014/12/10 02:44:47 tedu Exp $ */
+/* $OpenBSD: kern_malloc.c,v 1.127 2015/02/13 13:35:03 millert Exp $ */
/* $NetBSD: kern_malloc.c,v 1.15.4.2 1996/06/13 17:10:56 cgd Exp $ */
/*
@@ -35,6 +35,7 @@
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
+#include <sys/stdint.h>
#include <sys/systm.h>
#include <sys/sysctl.h>
#include <sys/time.h>