* link.cc: Include ffi.h if USE_LIBFFI defined.
authorDavid Daney <ddaney@avtrex.com>
Tue, 7 Mar 2006 18:04:04 +0000 (18:04 +0000)
committerDavid Daney <daney@gcc.gnu.org>
Tue, 7 Mar 2006 18:04:04 +0000 (18:04 +0000)
From-SVN: r111815

libjava/ChangeLog
libjava/link.cc

index 87b0ef6dbdeb8666c10c2a9b4bcc1d8a864f2059..f1d24d55ac3df0350b932e2da31e41b922e9e65d 100644 (file)
@@ -1,3 +1,7 @@
+2006-03-07  David Daney  <ddaney@avtrex.com>
+
+       * link.cc: Include ffi.h if USE_LIBFFI defined.
+       
 2006-03-03  Tom Tromey  <tromey@redhat.com>
 
        * interpret.cc (do_allocate_static_fields): Added comment.
index e1dc23f5bcb50919721c1afeed8743d333d98441..df148a38e64dbd402bc375606d892a1f6b0c96e4 100644 (file)
@@ -15,6 +15,10 @@ details.  */
 
 #include <stdio.h>
 
+#ifdef USE_LIBFFI
+#include <ffi.h>
+#endif
+
 #include <java-interp.h>
 
 #include <jvm.h>