diff options
| author | 2015-02-13 13:35:03 +0000 | |
|---|---|---|
| committer | 2015-02-13 13:35:03 +0000 | |
| commit | da6640c128cbff275f9b5193e03ec66a8252f6ae (patch) | |
| tree | 49b6b3a07245f40d2ccdc7a8abcbb04b8e803236 /sys/kern/kern_malloc.c | |
| parent | implicit declaration of function 'free'; add missing stdlib.h (diff) | |
| download | wireguard-openbsd-da6640c128cbff275f9b5193e03ec66a8252f6ae.tar.xz wireguard-openbsd-da6640c128cbff275f9b5193e03ec66a8252f6ae.zip | |
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/kern_malloc.c')
| -rw-r--r-- | sys/kern/kern_malloc.c | 3 |
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> |
