[w3m-dev 03849] fix no INET6

* ftp.c: no need ifdef INET6
From: ABE Yuji <cbo46560@pop12.odn.ne.jp>
This commit is contained in:
Fumitoshi UKAI
2003-04-07 15:26:10 +00:00
parent 4a52f3f994
commit 5d0bedb68b
2 changed files with 7 additions and 4 deletions

4
ftp.c
View File

@@ -1,4 +1,4 @@
/* $Id: ftp.c,v 1.30 2003/04/06 16:27:54 ukai Exp $ */
/* $Id: ftp.c,v 1.31 2003/04/07 15:26:15 ukai Exp $ */
#include <stdio.h>
#include <pwd.h>
#include <Str.h>
@@ -15,11 +15,9 @@
#endif /* DEBUG */
#include <sys/socket.h>
#if defined(INET6)
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
#endif
typedef struct _FTP {
char *host;