diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-11-15 19:32:26 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:41 +0100 |
commit | 8737092e3406f9d4b792c11b186b11f2a1548a69 (patch) | |
tree | 5caca61cfa8241bd401d1abb1c9e4cfa65a408bd /libcrystfel/src/detector.c | |
parent | d97f3bc0addc2448c84bb0ec0b2a7d0f4463213c (diff) |
Add _GNU_SOURCE to get M_PI as well
Diffstat (limited to 'libcrystfel/src/detector.c')
-rw-r--r-- | libcrystfel/src/detector.c | 1 |
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> |