log: Allow disabling of stdio
Some firmwares (e.g. Hostboot) don't provide stdio.h. Make sure we can
compile in these environments.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I3a5f414f12fbf9de70fb41033d610f81094848bf
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ef7506f..5b57637 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,6 +2,7 @@
add_definitions (-DMCTP_LOG_STDERR)
add_definitions (-DMCTP_HAVE_FILEIO)
+add_definitions (-DMCTP_HAVE_STDIO)
add_library (libmctp STATIC alloc.c core.c log.c libmctp.h serial.c)