]> sjero.net Git - wget/blobdiff - src/host.h
[svn] Only include Unix-specific includes #ifndef WINDOWS.
[wget] / src / host.h
index 01a392eb400b5a25b207acc712b63f90f819987b..3ca6af48bcfab409c56252b5d288984bc0447bd0 100644 (file)
@@ -21,8 +21,16 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #define HOST_H
 
 #include <netdb.h>
-#include <netinet/in.h>
-#include <sys/socket.h>
+
+#ifdef WINDOWS
+# include <winsock.h>
+#else
+# include <sys/socket.h>
+# include <netinet/in.h>
+#ifndef __BEOS__
+# include <arpa/inet.h>
+#endif
+#endif
 
 #undef INET6