harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r499138 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/OSNetworkSystemLinux.c
Date Tue, 23 Jan 2007 21:12:51 GMT
Author: hindessm
Date: Tue Jan 23 13:12:51 2007
New Revision: 499138

URL: http://svn.apache.org/viewvc?view=rev&rev=499138
Log:
Rearrange includes to get source to compile on FreeBSD.

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/OSNetworkSystemLinux.c

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/OSNetworkSystemLinux.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/OSNetworkSystemLinux.c?view=diff&rev=499138&r1=499137&r2=499138
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/OSNetworkSystemLinux.c
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/OSNetworkSystemLinux.c
Tue Jan 23 13:12:51 2007
@@ -15,9 +15,13 @@
  *  limitations under the License.
  */
 
+#if defined(FREEBSD)
+#include <sys/types.h>
+#include <netinet/in.h>
+#endif
+#include <netinet/in_systm.h>
 #include<netinet/ip.h>
 #include<netinet/ip_icmp.h>
-#include<netinet/in_systm.h>
 #include "nethelp.h"
 #include "jclglob.h"
 #include "hysock.h"



Mime
View raw message