]> sjero.net Git - wget/blobdiff - src/options.h
[svn] Commit IPv6 support by Thomas Lussnig.
[wget] / src / options.h
index e8cd8fb2122340cdd8136737eae3adf68b2077ae..a07c641e96b57b72b9b4fe35e968b80ac82ee593 100644 (file)
@@ -19,6 +19,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 /* Needed for FDP.  */
 #include <stdio.h>
+#include "host.h"
 
 struct options
 {
@@ -152,9 +153,7 @@ struct options
 
   int page_requisites;         /* Whether we need to download all files
                                   necessary to display a page properly. */
-
-  struct sockaddr_in *bind_address; /* What local IP address to bind to. */
-
+  wget_sockaddr *bind_address;  /* What local IP address to bind to. */
 #ifdef HAVE_SSL
   char *sslcertfile;           /* external client cert to use. */
   char *sslcertkey;            /* the keyfile for this certificate