On SUNOS4, include "md/sunos4.h" to get the macro definition of strerror.
authorwtc%netscape.com
Sat, 27 Feb 1999 19:46:10 +0000
changeset 479 b69b1c10d2f328223842aff2a16dc9b87dc49af0
parent 478 42947aed67f64a81256abce5772102feeac8371a
child 480 fb9f3e99a3f185c1ca8aa440a2fcbf31e555d838
push idunknown
push userunknown
push dateunknown
On SUNOS4, include "md/sunos4.h" to get the macro definition of strerror. (contributed by Brian Ostrom <briano@netscape.com>)
pr/src/misc/prerrortable.c
--- a/pr/src/misc/prerrortable.c
+++ b/pr/src/misc/prerrortable.c
@@ -29,16 +29,19 @@ used in advertising or publicity pertain
 of the software without specific, written prior permission.
 M.I.T. and the M.I.T. S.I.P.B. make no representations about
 the suitability of this software for any purpose.  It is
 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"
 #include "prerror.h"
 #include "prerrorplugin.h"
 
 #define	ERRCODE_RANGE	8	/* # of bits to shift table number */
 #define	BITS_PER_CHAR	6	/* # bits to shift per character in name */