summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>1998-09-04 03:43:07 +0000
committerwtc%netscape.com <devnull@localhost>1998-09-04 03:43:07 +0000
commit509eb07d3908fd9271fa4421c24d6b606eee362e (patch)
tree046345432e70fbb0d06c284fc0c9f8b0857d04c4
parentaed8bd05179c647e0296117173d037c4b6e7cc90 (diff)
downloadnspr-hg-509eb07d3908fd9271fa4421c24d6b606eee362e.tar.gz
On Unix, include <sys/types.h> for 'uint'.
-rw-r--r--pr/include/obsolete/protypes.h4
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