diff options
Diffstat (limited to 'libc/inet')
-rw-r--r-- | libc/inet/hostid.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/inet/hostid.c b/libc/inet/hostid.c index 8d6001818..716bffaf3 100644 --- a/libc/inet/hostid.c +++ b/libc/inet/hostid.c @@ -27,6 +27,7 @@ libc_hidden_proto(gethostname) #define HOSTID "/etc/hostid" +#ifdef __USE_BSD int sethostid(long int new_id) { int fd; @@ -39,6 +40,7 @@ int sethostid(long int new_id) close (fd); return ret; } +#endif long int gethostid(void) { |