git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ebe856
)
bus/fslmc: fix build with musl libc
author
Natanael Copa
<ncopa@alpinelinux.org>
Wed, 13 Mar 2019 17:06:47 +0000
(18:06 +0100)
committer
Thomas Monjalon
<thomas@monjalon.net>
Sun, 31 Mar 2019 00:02:21 +0000
(
01:02
+0100)
This fixes the following compile error with musl libc:
drivers/bus/fslmc/qbman/include/compat.h:41:10: error:
'stdout' undeclared (first use in this function)
fflush(stdout); \
^~~~~~
Fixes:
531b17a780dc
("bus/fslmc: add QBMAN driver to bus")
Cc: stable@dpdk.org
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
drivers/bus/fslmc/qbman/include/compat.h
patch
|
blob
|
history
diff --git
a/drivers/bus/fslmc/qbman/include/compat.h
b/drivers/bus/fslmc/qbman/include/compat.h
index
e85a90c
..
1ddd69e
100644
(file)
--- a/
drivers/bus/fslmc/qbman/include/compat.h
+++ b/
drivers/bus/fslmc/qbman/include/compat.h
@@
-11,6
+11,7
@@
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
+#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <errno.h>