diff options
author | wtc%netscape.com <devnull@localhost> | 1998-09-04 03:43:07 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 1998-09-04 03:43:07 +0000 |
commit | 509eb07d3908fd9271fa4421c24d6b606eee362e (patch) | |
tree | 046345432e70fbb0d06c284fc0c9f8b0857d04c4 | |
parent | aed8bd05179c647e0296117173d037c4b6e7cc90 (diff) | |
download | nspr-hg-509eb07d3908fd9271fa4421c24d6b606eee362e.tar.gz |
On Unix, include <sys/types.h> for 'uint'.
-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 8b9bc645..e9fba9dc 100644 --- a/pr/include/obsolete/protypes.h +++ b/pr/include/obsolete/protypes.h @@ -27,7 +27,9 @@ #define PROTYPES_H /* SVR4 typedef of uint is commonly found on UNIX machines. */ -#ifndef XP_UNIX +#ifdef XP_UNIX +#include <sys/types.h> +#else typedef PRUintn uint; #endif |