2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

Tru64 Unix doesn't prototype innetgr() or getdomainname().

This commit is contained in:
Todd C. Miller
2013-03-26 13:19:59 -04:00
parent d710f1b41c
commit 6083947939

View File

@@ -322,13 +322,13 @@ extern int errno;
#endif /* HAVE_SETEUID */
/*
* HP-UX does not declare innetgr() or getdomainname().
* HP-UX and Tru64 do not declare innetgr() or getdomainname().
* Solaris does not declare getdomainname().
*/
#if defined(__hpux)
#if defined(__hpux) || defined(__osf__)
int innetgr(const char *, const char *, const char *, const char *);
#endif
#if defined(__hpux) || defined(__sun)
#if defined(__hpux) || defined(__osf__) || defined(__sun)
int getdomainname(char *, size_t);
#endif