summaryrefslogtreecommitdiff
path: root/bsd-misc.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-07-15 14:59:14 +1000
committerDamien Miller <djm@mindrot.org>2000-07-15 14:59:14 +1000
commitecbb26d3d4490968b5c86e82c286b3d75ad8091e (patch)
tree7fdcc0ecfa9c8662533cae898dfb2fe787f182e8 /bsd-misc.h
parentbe484b5d9889ca636fecdf1f6b73ddfbe4cce3c9 (diff)
- Fixes for SunOS 4.1.4 from Gordon Atwood <gordon@cs.ualberta.ca>
- Include floatingpoint.h for entropy.c - strerror replacement
Diffstat (limited to 'bsd-misc.h')
-rw-r--r--bsd-misc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bsd-misc.h b/bsd-misc.h
index cdf8e2b6..76b4e1a7 100644
--- a/bsd-misc.h
+++ b/bsd-misc.h
@@ -58,4 +58,8 @@ int innetgr(const char *netgroup, const char *host,
int seteuid(uid_t euid);
#endif /* !defined(HAVE_SETEUID) && defined(HAVE_SETREUID) */
+#if !defined(HAVE_STRERROR) && defined(HAVE_SYS_ERRLIST)
+const char *strerror(void);
+#endif /* !defined(HAVE_STRERROR) && defined(HAVE_SYS_ERRLIST) */
+
#endif /* _BSD_MISC_H */