diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-11-15 19:24:17 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:41 +0100 |
commit | 06c6dc02a0ea8b5ee0c79ba83dd217ae533a79f9 (patch) | |
tree | 92aac165eb51f24c23f56f0ea78a6df843c59f11 /libcrystfel/src/reflist-utils.c | |
parent | d2d8f12e07f4d9c5d096936a67301f03e83e29e9 (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.c | 2 |
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> |