You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by re...@apache.org on 2010/02/24 08:13:11 UTC

svn commit: r915706 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/unix/OSNetworkSystemLinux.c

Author: regisxu
Date: Wed Feb 24 07:13:11 2010
New Revision: 915706

URL: http://svn.apache.org/viewvc?rev=915706&view=rev
Log:
Apply patch for HARMONY-6454: Missing header under FreeBSD 7.2

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?rev=915706&r1=915705&r2=915706&view=diff
==============================================================================
--- 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 Wed Feb 24 07:13:11 2010
@@ -18,6 +18,13 @@
 #if defined(FREEBSD) || defined(AIX) || defined(MACOSX) || defined(ZOS)
 #include <sys/types.h>
 #include <netinet/in.h>
+
+#if defined(FREEBSD)
+/*
+ * Function definition is in <sys/uio.h> under FreeBSD.
+ */
+#include <sys/uio.h>
+#endif /* FREEBSD */
 #endif
 
 #if !defined(ZOS)