little patch to stop gcc from complaining about the implicit declaration of
isalnum().

although this file comes from vendor contributed software (gdtoa) the cause
for the warning is related to local freebsd specific changes in the file which
are not part of the original file shipped by the vendor. so i guess this can
be fixed directly in head.

cheers.
alex
Index: contrib/gdtoa/hexnan.c
===================================================================
--- contrib/gdtoa/hexnan.c      (revision 203786)
+++ contrib/gdtoa/hexnan.c      (working copy)
@@ -31,6 +31,8 @@
 
 /* $FreeBSD$ */
 
+#include <ctype.h>
+
 #include "gdtoaimp.h"
 
  static void
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to