Declare innetgr() for HP-UX which is missing a declaration.
Declare domainname() for HP-UX and Solaris which are missing a declaration.
This commit is contained in:
@@ -264,6 +264,17 @@ void setprogname(const char *);
|
|||||||
# endif
|
# endif
|
||||||
#endif /* HAVE_SETEUID */
|
#endif /* HAVE_SETEUID */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* HP-UX does not declare innetgr() or getdomainname().
|
||||||
|
* Solaris does not declare getdomainname().
|
||||||
|
*/
|
||||||
|
#if defined(__hpux)
|
||||||
|
int innetgr(const char *, const char *, const char *, const char *);
|
||||||
|
#endif
|
||||||
|
#if defined(__hpux) || defined(__sun)
|
||||||
|
int getdomainname(char *, size_t);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Functions "missing" from libc. */
|
/* Functions "missing" from libc. */
|
||||||
|
|
||||||
struct timeval;
|
struct timeval;
|
||||||
|
Reference in New Issue
Block a user