diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2007-11-27 14:44:49 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2007-11-27 14:44:49 +0000 |
commit | 40919091031ec01d0e24aded0ffa8fc87076c3f4 (patch) | |
tree | 33728c0604f5b59c5cd8cfb5120c12d1054445cc /libexec/tftpd | |
parent | 513cfc8d00cb8b8fecf80e9951f16a45e2108c2c (diff) |
add missing header for inet_ntoa.
"sure" deraadt@
Diffstat (limited to 'libexec/tftpd')
-rw-r--r-- | libexec/tftpd/tftpd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/tftpd/tftpd.c b/libexec/tftpd/tftpd.c index 1470263e864..a917d10565e 100644 --- a/libexec/tftpd/tftpd.c +++ b/libexec/tftpd/tftpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tftpd.c,v 1.57 2007/11/26 18:39:06 jolan Exp $ */ +/* $OpenBSD: tftpd.c,v 1.58 2007/11/27 14:44:48 chl Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -37,7 +37,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)tftpd.c 5.13 (Berkeley) 2/26/91";*/ -static char rcsid[] = "$OpenBSD: tftpd.c,v 1.57 2007/11/26 18:39:06 jolan Exp $"; +static char rcsid[] = "$OpenBSD: tftpd.c,v 1.58 2007/11/27 14:44:48 chl Exp $"; #endif /* not lint */ /* @@ -53,6 +53,7 @@ static char rcsid[] = "$OpenBSD: tftpd.c,v 1.57 2007/11/26 18:39:06 jolan Exp $" #include <sys/uio.h> #include <netinet/in.h> +#include <arpa/inet.h> #include <arpa/tftp.h> #include <netdb.h> |