aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-08-24 18:37:44 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:56 +0100
commitaf003a7bf9cc2f8b163ec4df44238d9f249d3943 (patch)
tree083942746e47e33f1008d7d1498c58a3a6b4e58d /src
parent1c68a9455e3ccbbb37a9e74914371f82a4ac588d (diff)
Move -D_GNU_SOURCE to a better place
Diffstat (limited to 'src')
-rw-r--r--src/calibrate_detector.c1
-rw-r--r--src/cell.c1
-rw-r--r--src/displaywindow.c1
-rw-r--r--src/image.c1
-rw-r--r--src/indexamajig.c1
5 files changed, 1 insertions, 4 deletions
diff --git a/src/calibrate_detector.c b/src/calibrate_detector.c
index 0a8790f4..0759ff6b 100644
--- a/src/calibrate_detector.c
+++ b/src/calibrate_detector.c
@@ -14,7 +14,6 @@
#include <config.h>
#endif
-#define _GNU_SOURCE 1
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/src/cell.c b/src/cell.c
index bb4dca99..9ae51f0a 100644
--- a/src/cell.c
+++ b/src/cell.c
@@ -16,6 +16,7 @@
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_linalg.h>
diff --git a/src/displaywindow.c b/src/displaywindow.c
index 45ee125c..145602e0 100644
--- a/src/displaywindow.c
+++ b/src/displaywindow.c
@@ -14,7 +14,6 @@
#include <config.h>
#endif
-#define _GNU_SOURCE
#include <gtk/gtk.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/src/image.c b/src/image.c
index 5bb47d24..d4d66712 100644
--- a/src/image.c
+++ b/src/image.c
@@ -10,7 +10,6 @@
*/
-#define _GNU_SOURCE 1
#include <stdlib.h>
#include <assert.h>
#include <math.h>
diff --git a/src/indexamajig.c b/src/indexamajig.c
index 91abc9e1..eee4c009 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -14,7 +14,6 @@
#include <config.h>
#endif
-#define _GNU_SOURCE 1
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>