--- mesa-11.0.6.orig/src/mapi/glapi/glapi_gentable.c	2015-11-21 12:45:27.000000000 +0100
+++ mesa-11.0.6/src/mapi/glapi/glapi_gentable.c	2016-01-05 22:36:19.266092512 +0100
@@ -35,11 +35,6 @@
 #include <dix-config.h>
 #endif
 
-#if (defined(GLXEXT) && defined(HAVE_BACKTRACE)) \
-	|| (!defined(GLXEXT) && defined(DEBUG) && !defined(__CYGWIN__) && !defined(__MINGW32__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__))
-#define USE_BACKTRACE
-#endif
-
 #ifdef USE_BACKTRACE
 #include <execinfo.h>
 #endif
