diff options
author | wtc%netscape.com <devnull@localhost> | 1999-02-27 19:46:10 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 1999-02-27 19:46:10 +0000 |
commit | 61516837cf2c8b4638fe60b0cfe153e2f92b2185 (patch) | |
tree | 665bdf33aef74d0ceb386eaca10dbf1f133c03f6 | |
parent | 6be5020c716637edd06e5bdc5382618a12ddff03 (diff) | |
download | nspr-hg-61516837cf2c8b4638fe60b0cfe153e2f92b2185.tar.gz |
On SUNOS4, include "md/sunos4.h" to get the macro definition of strerror.
(contributed by Brian Ostrom <briano@netscape.com>)
-rw-r--r-- | pr/src/misc/prerrortable.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pr/src/misc/prerrortable.c b/pr/src/misc/prerrortable.c index f7d5cc50..c589a952 100644 --- a/pr/src/misc/prerrortable.c +++ b/pr/src/misc/prerrortable.c @@ -34,6 +34,9 @@ provided "as is" without express or implied warranty. */ #include <string.h> +#ifdef SUNOS4 +#include "md/sunos4.h" /* for strerror */ +#endif #include <assert.h> #include <errno.h> #include "prmem.h" |