summaryrefslogtreecommitdiff
path: root/libexec/ftpd/logwtmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/ftpd/logwtmp.c')
-rw-r--r--libexec/ftpd/logwtmp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libexec/ftpd/logwtmp.c b/libexec/ftpd/logwtmp.c
index 1b3416cd791..36c761210c9 100644
--- a/libexec/ftpd/logwtmp.c
+++ b/libexec/ftpd/logwtmp.c
@@ -51,6 +51,8 @@ static char rcsid[] = "$NetBSD: logwtmp.c,v 1.4 1995/04/11 02:44:58 cgd Exp $";
#include <unistd.h>
#include <stdio.h>
#include <string.h>
+
+#include <netinet/in.h>
#include "extern.h"
static int fd = -1;