use proper feature test macros for isnan
[platform/upstream/glib.git] / glib / tests / strfuncs.c
index 2ddf926..648f370 100644 (file)
@@ -19,6 +19,7 @@
  * if advised of the possibility of such damage.
  */
 
+#define _XOPEN_SOURCE
 #include <ctype.h>
 #include <errno.h>
 #include <locale.h>