diff options
Diffstat (limited to 'libc/inet/hostid.c')
-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 48dc55732..bd9f5b52b 100644 --- a/libc/inet/hostid.c +++ b/libc/inet/hostid.c @@ -30,6 +30,7 @@ libc_hidden_proto(gethostname) #define HOSTID "/etc/hostid" +#ifdef __USE_BSD int sethostid(long int new_id) { int fd; @@ -49,6 +50,7 @@ int sethostid(long int new_id) #endif return ret; } +#endif long int gethostid(void) { |