* link.cc: Include ffi.h if USE_LIBFFI defined.
authordaney <daney@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Mar 2006 18:04:04 +0000 (18:04 +0000)
committerdaney <daney@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Mar 2006 18:04:04 +0000 (18:04 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111815 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/link.cc

index 87b0ef6..f1d24d5 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 e1dc23f..df148a3 100644 (file)
@@ -15,6 +15,10 @@ details.  */
 
 #include <stdio.h>
 
+#ifdef USE_LIBFFI
+#include <ffi.h>
+#endif
+
 #include <java-interp.h>
 
 #include <jvm.h>