diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2015-02-24 08:58:50 +0800 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-02-26 16:32:44 +1100 |
commit | 0a8baf26a55729c86ea84c1068d469d2a2e1c8e1 (patch) | |
tree | 1cd1427daca2f4e45152588b7616693c6a8e6d32 | |
parent | 8d2eacb522bbd2cfbc982b68d349d3257ba1e2f2 (diff) | |
download | skiboot-0a8baf26a55729c86ea84c1068d469d2a2e1c8e1.zip skiboot-0a8baf26a55729c86ea84c1068d469d2a2e1c8e1.tar.gz skiboot-0a8baf26a55729c86ea84c1068d469d2a2e1c8e1.tar.bz2 |
libflash: external FL_* macros require stdio
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Reviewed-By: Joel Stanley <joel@jms.id.au>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r-- | libflash/libflash.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libflash/libflash.h b/libflash/libflash.h index 8e031dd..f9ec977 100644 --- a/libflash/libflash.h +++ b/libflash/libflash.h @@ -25,6 +25,7 @@ #define FL_DBG(fmt...) do { prlog(PR_DEBUG, fmt); } while(0) #define FL_ERR(fmt...) do { prlog(PR_ERR, fmt); } while(0) #else +#include <stdio.h> extern bool libflash_debug; #define FL_DBG(fmt...) do { if (libflash_debug) printf(fmt); } while(0) #define FL_INF(fmt...) do { printf(fmt); } while(0) |