From 0dbd8726fe2b94ae3be1d1403aa1732679570cb0 Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 29 Dec 2005 21:45:40 +0000 Subject: add stdint.h, uintptr --- src/lib9/fmt/plan9.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib9/fmt/plan9.h b/src/lib9/fmt/plan9.h index f9762889..22fa7f0c 100644 --- a/src/lib9/fmt/plan9.h +++ b/src/lib9/fmt/plan9.h @@ -1,3 +1,5 @@ +#include + /* * compiler directive on Plan 9 */ @@ -14,12 +16,15 @@ #define ulong _fmtulong #define vlong _fmtvlong #define uvlong _fmtuvlong +#define uintptr _fmtuintptr + typedef unsigned char uchar; typedef unsigned short ushort; typedef unsigned int uint; typedef unsigned long ulong; typedef unsigned long long uvlong; typedef long long vlong; +typedef uintptr_t uintptr; /* * nil cannot be ((void*)0) on ANSI C, -- cgit v1.2.3