aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/detector.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/detector.c
parentd97f3bc0addc2448c84bb0ec0b2a7d0f4463213c (diff)
Add _GNU_SOURCE to get M_PI as well
Diffstat (limited to 'libcrystfel/src/detector.c')
-rw-r--r--libcrystfel/src/detector.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c
index cf2cfbc9..12aaa162 100644
--- a/libcrystfel/src/detector.c
+++ b/libcrystfel/src/detector.c
@@ -12,6 +12,7 @@
#define _ISOC99_SOURCE
+#define _GNU_SOURCE
#include <stdlib.h>
#include <math.h>
#include <stdio.h>