You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2009/05/31 09:52:44 UTC
svn commit: r780377 - /httpd/mod_ftp/trunk/modules/ftp/ftp_data_connection.c
Author: wrowe
Date: Sun May 31 07:52:43 2009
New Revision: 780377
URL: http://svn.apache.org/viewvc?rev=780377&view=rev
Log:
Fix Solaris usage of netinet/in.h
Modified:
httpd/mod_ftp/trunk/modules/ftp/ftp_data_connection.c
Modified: httpd/mod_ftp/trunk/modules/ftp/ftp_data_connection.c
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/modules/ftp/ftp_data_connection.c?rev=780377&r1=780376&r2=780377&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/modules/ftp/ftp_data_connection.c (original)
+++ httpd/mod_ftp/trunk/modules/ftp/ftp_data_connection.c Sun May 31 07:52:43 2009
@@ -24,6 +24,12 @@
#include "ftp_internal.h"
#include "apr_portable.h"
+#if APR_HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#if APR_HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
#ifdef HAVE_NETINET_IP_H
#include <netinet/ip.h>
#endif