aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/reflist-utils.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-11-15 19:24:17 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:41 +0100
commit06c6dc02a0ea8b5ee0c79ba83dd217ae533a79f9 (patch)
tree92aac165eb51f24c23f56f0ea78a6df843c59f11 /libcrystfel/src/reflist-utils.c
parentd2d8f12e07f4d9c5d096936a67301f03e83e29e9 (diff)
Add #define _ISOC99_SOURCE to get INFINITY and NAN
Diffstat (limited to 'libcrystfel/src/reflist-utils.c')
-rw-r--r--libcrystfel/src/reflist-utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrystfel/src/reflist-utils.c b/libcrystfel/src/reflist-utils.c
index 6e2f9c4a..5315a782 100644
--- a/libcrystfel/src/reflist-utils.c
+++ b/libcrystfel/src/reflist-utils.c
@@ -10,6 +10,8 @@
*/
+#define _ISOC99_SOURCE
+#include <math.h>
#include <stdio.h>
#include <assert.h>