diff options
Diffstat (limited to 'src/client_new.c')
-rw-r--r-- | src/client_new.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client_new.c b/src/client_new.c index cf28c43c..4dba4d88 100644 --- a/src/client_new.c +++ b/src/client_new.c @@ -34,7 +34,7 @@ #endif #include <unistd.h> -#ifdef HAVE_LIBWRAP +#if CONFIG_LIBWRAP #include <tcpd.h> #endif @@ -54,7 +54,7 @@ client_new(struct player_control *player_control, assert(player_control != NULL); assert(fd >= 0); -#ifdef HAVE_LIBWRAP +#if CONFIG_LIBWRAP if (sa->sa_family != AF_UNIX) { char *hostaddr = sockaddr_to_string(sa, sa_length, NULL); const char *progname = g_get_prgname(); |