summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>1999-02-27 19:46:10 +0000
committerwtc%netscape.com <devnull@localhost>1999-02-27 19:46:10 +0000
commit61516837cf2c8b4638fe60b0cfe153e2f92b2185 (patch)
tree665bdf33aef74d0ceb386eaca10dbf1f133c03f6
parent6be5020c716637edd06e5bdc5382618a12ddff03 (diff)
downloadnspr-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.c3
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"