mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-23 21:10:29 +02:00
(sethostname): Give prototype if not HAVE_DECL_SETHOSTNAME,
for the benefit of Solaris 10. Reported by Claes Wallin.
This commit is contained in:
parent
67fbf55cf7
commit
adc72e85fd
1 changed files with 5 additions and 0 deletions
|
@ -156,6 +156,11 @@ extern char ** environ;
|
|||
#define F_OK 0
|
||||
#endif
|
||||
|
||||
/* No prototype for this on Solaris 10. */
|
||||
#if ! HAVE_DECL_SETHOSTNAME
|
||||
int sethostname (char *name, size_t namelen);
|
||||
#endif
|
||||
|
||||
/* On NextStep, <utime.h> doesn't define struct utime, unless we
|
||||
#define _POSIX_SOURCE before #including it. I think this is less
|
||||
of a kludge than defining struct utimbuf ourselves. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue