Hello,

the trivial patch below avoids a warning about undeclared 'free'.
bootstrapped and regtested.  OK for GCC trunk, and if yes, can somebody
put this in upstream classpath?

(Cc:ing the author of the file as requested in the header.)

Thanks,
Ralf

libjava/classpath/ChangeLog:
2008-06-17  Ralf Wildenhues  <[EMAIL PROTECTED]>

        * native/fdlibm/dtoa.c: include stdlib.h, for 'free'.

diff --git a/libjava/classpath/native/fdlibm/dtoa.c 
b/libjava/classpath/native/fdlibm/dtoa.c
index 5fb6aae..e710d96 100644
--- a/libjava/classpath/native/fdlibm/dtoa.c
+++ b/libjava/classpath/native/fdlibm/dtoa.c
@@ -28,6 +28,7 @@
 
 #include "mprec.h"
 #include <string.h>
+#include <stdlib.h>
 
 static int
 _DEFUN (quorem,

Reply via email to