aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/reflist-utils.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-11-15 19:32:26 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:41 +0100
commit8737092e3406f9d4b792c11b186b11f2a1548a69 (patch)
tree5caca61cfa8241bd401d1abb1c9e4cfa65a408bd /libcrystfel/src/reflist-utils.c
parentd97f3bc0addc2448c84bb0ec0b2a7d0f4463213c (diff)
Add _GNU_SOURCE to get M_PI as well
Diffstat (limited to 'libcrystfel/src/reflist-utils.c')
-rw-r--r--libcrystfel/src/reflist-utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/reflist-utils.c b/libcrystfel/src/reflist-utils.c
index 5315a782..21efc641 100644
--- a/libcrystfel/src/reflist-utils.c
+++ b/libcrystfel/src/reflist-utils.c
@@ -11,6 +11,7 @@
#define _ISOC99_SOURCE
+#define _GNU_SOURCE
#include <math.h>
#include <stdio.h>
#include <assert.h>