diff --git a/src/openrc/rc.c b/src/openrc/rc.c index b5cec8739..483db4cca 100644 --- a/src/openrc/rc.c +++ b/src/openrc/rc.c @@ -476,7 +476,6 @@ handle_signal(int sig) static void do_early_hostname(void) { -#ifdef __linux__ /* Set hostname if available */ char *buffer = NULL; size_t len; @@ -489,7 +488,6 @@ do_early_hostname(void) } free(buffer); } -#endif } static void