]> sjero.net Git - wget/commitdiff
[svn] Add the necessary includes for compilation under FreeBSD.
authorhniksic <devnull@localhost>
Tue, 19 Feb 2002 05:21:42 +0000 (21:21 -0800)
committerhniksic <devnull@localhost>
Tue, 19 Feb 2002 05:21:42 +0000 (21:21 -0800)
Submitted by Alan Eldridge in <200202130630.g1D6U3S07907@wwweasel.geeksrus.net>.

src/ChangeLog
src/ftp-basic.c
src/host.h

index dc66f3e8cb4ff307ac2c34cfbd2756c0cfb350c6..29075acec3022a28392b3671ed72d5687ecee311 100644 (file)
@@ -1,3 +1,9 @@
+2002-02-19  Alan Eldridge  <alane@geeksrus.net>
+
+       * host.h: Also include <netinet/in.h> and <sys/socket.h>.
+
+       * ftp-basic.c: Also include <netinet/in.h>.
+
 2002-02-05  Ian Abbott  <abbotti@mev.co.uk>
 
        * http.c (gethttp): when -c used, mark already fully retrieved
index f851694bb51632d001fce44d65d2b4a60ffd82e0..6dff629aa4f20f69dfa606c1f6b8536b809b04df 100644 (file)
@@ -36,6 +36,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 /* For inet_ntop. */
 #ifndef WINDOWS
 #include <sys/socket.h>
+#include <netinet/in.h>
 #include <arpa/inet.h>
 #endif
 
index 4d89ecf5a37f0a2350cd7c8633c8e41f524b45d3..01a392eb400b5a25b207acc712b63f90f819987b 100644 (file)
@@ -21,6 +21,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #define HOST_H
 
 #include <netdb.h>
+#include <netinet/in.h>
+#include <sys/socket.h>
 
 #undef INET6