diff --git a/libexec/ftpd/logutmp.c b/libexec/ftpd/logutmp.c index 71ee558245c3..89f91e106e68 100644 --- a/libexec/ftpd/logutmp.c +++ b/libexec/ftpd/logutmp.c @@ -69,6 +69,7 @@ #include "extern.h" +#ifdef SUPPORT_UTMP typedef struct utmp UTMP; static int fd = -1; @@ -144,6 +145,7 @@ ftpd_logout(const char *line) } return(rval); } +#endif /* SUPPORT_UTMP */ #ifdef SUPPORT_UTMPX /*