summaryrefslogtreecommitdiff
path: root/src/target/oocd_trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/oocd_trace.c')
-rw-r--r--src/target/oocd_trace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/target/oocd_trace.c b/src/target/oocd_trace.c
index 55ea67ca..e59c6203 100644
--- a/src/target/oocd_trace.c
+++ b/src/target/oocd_trace.c
@@ -21,7 +21,9 @@
#include "config.h"
#endif
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE
+#endif
#include <string.h>
#include <errno.h>