[patch] contrib/gdtoa/hexnan.c

Alexander Best alexbestms at wwu.de
Fri Feb 12 16:39:30 UTC 2010


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
-------------- next part --------------
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


More information about the freebsd-hackers mailing list