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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user