summaryrefslogtreecommitdiffstats
path: root/lib/libstand/zalloc_defs.h
diff options
context:
space:
mode:
authoravatar <avatar@FreeBSD.org>2011-07-08 01:35:33 +0000
committeravatar <avatar@FreeBSD.org>2011-07-08 01:35:33 +0000
commitcbb0abbaca8551d0b28a2e9050b36edd3a891bac (patch)
tree94b1e04e03384d5c3f357f68dba10baf2bf455f4 /lib/libstand/zalloc_defs.h
parent99ee90db6b9cb3b99fd5ee4dbf7ef00507b717c9 (diff)
downloadFreeBSD-src-cbb0abbaca8551d0b28a2e9050b36edd3a891bac.zip
FreeBSD-src-cbb0abbaca8551d0b28a2e9050b36edd3a891bac.tar.gz
Fixing building bustage on 32 bits platforms when WARNS >= 2. Note that
this fix only applies to zalloc.c, the other part of libstand such like qdivrem.c still gives compilation warnings on sparc64 tinderbox builds; therefore, WARNS level isn't changed for now. Submitted by: Garrett Cooper <yanegomi@gmail.com> Reviewed by: bde
Diffstat (limited to 'lib/libstand/zalloc_defs.h')
-rw-r--r--lib/libstand/zalloc_defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libstand/zalloc_defs.h b/lib/libstand/zalloc_defs.h
index 2544f59..84a828b 100644
--- a/lib/libstand/zalloc_defs.h
+++ b/lib/libstand/zalloc_defs.h
@@ -39,6 +39,7 @@
#define ZALLOCDEBUG
#include <string.h>
+#include <sys/stdint.h>
#include "stand.h"
typedef uintptr_t iaddr_t; /* unsigned int same size as pointer */
OpenPOWER on IntegriCloud