summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauri Kasanen <cand@gmx.com>2012-06-30 13:12:45 +0300
committerBen Widawsky <ben@bwidawsk.net>2012-07-03 09:54:41 -0700
commit8fad46b614a156e3a0e65cd0af4c132a5820d29e (patch)
treebdeb7fc2461714c7afb4af3fb01299a3c4ab7a2c
parent1b1a4f0a779f7ab2ba5673b9c9fe2a37047fe765 (diff)
intel: Fix build failure in test_decode.c
Hi list The recently released libdrm 2.4.37 does not compile the Intel part: test_decode.c: In function 'compare_batch': test_decode.c:107: error: implicit declaration of function 'open_memstream' PS: Please CC me. Signed-off-by: Lauri Kasanen <cand@gmx.com> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
-rw-r--r--intel/test_decode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/intel/test_decode.c b/intel/test_decode.c
index c9ab7adc..0fcdf3b0 100644
--- a/intel/test_decode.c
+++ b/intel/test_decode.c
@@ -21,6 +21,8 @@
* IN THE SOFTWARE.
*/
+#define _GNU_SOURCE
+
#include <string.h>
#include <stdlib.h>
#include <stdio.h>