diff options
author | wtc%google.com <devnull@localhost> | 2009-05-19 22:18:18 +0000 |
---|---|---|
committer | wtc%google.com <devnull@localhost> | 2009-05-19 22:18:18 +0000 |
commit | 95953a64432971cde3b7d7e9e143430addbd6f43 (patch) | |
tree | ff7ba7403dc554726ff3029ffa4bc6c50298a554 | |
parent | a958d3d7b279e905c8c2a700d34f47debe18c566 (diff) | |
download | nspr-hg-95953a64432971cde3b7d7e9e143430addbd6f43.tar.gz |
Bug 493378: include <sys/types.h> on OS/2 for the uint typedef. The patchNSPR_4_8_RTM
is contributed by Peter Weilbacher <mozilla@Weilbacher.org>. r=wtc.
-rw-r--r-- | pr/include/obsolete/protypes.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pr/include/obsolete/protypes.h b/pr/include/obsolete/protypes.h index 8e3aaafc..d8e947a5 100644 --- a/pr/include/obsolete/protypes.h +++ b/pr/include/obsolete/protypes.h @@ -72,8 +72,10 @@ typedef PRIntn intn; * * On AIX 4.3, sys/inttypes.h (which is included by sys/types.h) * defines the types int8, int16, int32, and int64. + * + * On OS/2, sys/types.h defines uint. */ -#ifdef XP_UNIX +#if defined(XP_UNIX) || defined(XP_OS2) #include <sys/types.h> #endif |