summaryrefslogtreecommitdiff
path: root/src/common/backtrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/backtrace.c')
-rw-r--r--src/common/backtrace.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/backtrace.c b/src/common/backtrace.c
index 8b76720bf..fb6ff71a1 100644
--- a/src/common/backtrace.c
+++ b/src/common/backtrace.c
@@ -28,7 +28,11 @@
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
+
+#ifndef __USE_GNU
#define __USE_GNU
+#endif
+
#include <dlfcn.h>
#ifdef HAVE_BACKTRACE