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