From c1e6f5dcc2c2078b453d397e430d69a496f551ce Mon Sep 17 00:00:00 2001 From: "jst%mozilla.jstenback.com" Date: Tue, 13 Jul 2004 22:15:51 +0000 Subject: [PATCH] BSD/OS's sys/types.h defines int32_t and u_int32_t, but not uint32_t. Geez. git-svn-id: svn://10.0.0.236/trunk@159156 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/modules/plugin/base/public/nptypes.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mozilla/modules/plugin/base/public/nptypes.h b/mozilla/modules/plugin/base/public/nptypes.h index 515f12c610f..88031e91c9f 100644 --- a/mozilla/modules/plugin/base/public/nptypes.h +++ b/mozilla/modules/plugin/base/public/nptypes.h @@ -60,11 +60,13 @@ #endif #elif defined(bsdi) /* - * BSD/OS ships sys/types.h that define [u]int32_t, but no header - * that defines bool for C + * BSD/OS ships sys/types.h that define int32_t and u_int32_t, but + * no header that defines uint32_t, nor bool (for C) */ #include + typedef u_int32_t uint32_t; + #if !defined(__cplusplus) typedef int bool; #endif