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>
main
Lauri Kasanen 2012-06-30 13:12:45 +03:00 committed by Ben Widawsky
parent 1b1a4f0a77
commit 8fad46b614
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@
* IN THE SOFTWARE.
*/
#define _GNU_SOURCE
#include <string.h>
#include <stdlib.h>
#include <stdio.h>