aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/detector.c
diff options
context:
space:
mode:
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>