diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index d93f27ddd..5efdd1ae8 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -226,7 +226,7 @@ char *strerror(int eno); #if !defined(HAVE_HSTRERROR) || defined(NEED_HSTRERROR_PROTO) /* This causes a fatal error under Psoriasis */ #if !(defined(SunOS) && (SunOS >= 5)) -char *hstrerror(int herr); +const char *hstrerror(int herr); #endif #endif @@ -281,6 +281,10 @@ int rcmd(char **ahost, unsigned short inport, const char *locuser, const char *remuser, const char *cmd, int *fd2p); #endif +#if !defined(HAVE_INNETGR) || defined(NEED_INNETGR_PROTO) +int innetgr(const char*, const char*, const char*, const char*); +#endif + #ifndef HAVE_IRUSEROK int iruserok(unsigned raddr, int superuser, const char *ruser, const char *luser);