From 8fad46b614a156e3a0e65cd0af4c132a5820d29e Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Sat, 30 Jun 2012 13:12:45 +0300 Subject: 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 Signed-off-by: Ben Widawsky --- intel/test_decode.c | 2 ++ 1 file changed, 2 insertions(+) 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 #include #include -- cgit v1.2.3