projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b1a4f0
)
intel: Fix build failure in test_decode.c
author
Lauri Kasanen
<cand@gmx.com>
Sat, 30 Jun 2012 10:12:45 +0000
(13:12 +0300)
committer
Ben Widawsky
<ben@bwidawsk.net>
Tue, 3 Jul 2012 16:54:41 +0000
(09:54 -0700)
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>
intel/test_decode.c
patch
|
blob
|
history
diff --git
a/intel/test_decode.c
b/intel/test_decode.c
index
c9ab7ad
..
0fcdf3b
100644
(file)
--- 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>