summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>1999-02-27 19:47:35 +0000
committerwtc%netscape.com <devnull@localhost>1999-02-27 19:47:35 +0000
commit0f9e4f2fe64f116e8fdb2605fe36b31aa75cc6a6 (patch)
tree35a1c62e199250d1273144519f573a31ff6c2979
parent61516837cf2c8b4638fe60b0cfe153e2f92b2185 (diff)
downloadnspr-hg-0f9e4f2fe64f116e8fdb2605fe36b31aa75cc6a6.tar.gz
On SUNOS4, include "md/sunos4.h" to get the macro definition of strtoul.
(contributed by Brian Ostrom <briano@netscape.com>)
-rw-r--r--pr/src/io/prscanf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pr/src/io/prscanf.c b/pr/src/io/prscanf.c
index 833d2763..8a29af35 100644
--- a/pr/src/io/prscanf.c
+++ b/pr/src/io/prscanf.c
@@ -29,6 +29,9 @@
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
+#ifdef SUNOS4
+#include "md/sunos4.h" /* for strtoul */
+#endif
#include "prprf.h"
#include "prdtoa.h"
#include "prlog.h"