Commit 9bea7fc6 authored by Adam Wujek's avatar Adam Wujek 💬

sw:rt:lib: fix add include of autoconf.h into printf files

Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 3787bce2
......@@ -8,9 +8,12 @@
/**
* Include this code only if explicitly asked to
*/
#ifdef CONFIG_MOCKTURTLE_LIBRARY_PRINT_ENABLE
#include <stdarg.h>
#include <generated/autoconf.h>
#ifdef CONFIG_MOCKTURTLE_LIBRARY_PRINT_ENABLE
#include <mockturtle-rt-common.h>
#include <mockturtle-rt-serial.h>
......
......@@ -8,10 +8,12 @@
/**
* Include this code only if explicitly asked to
*/
#ifdef CONFIG_MOCKTURTLE_LIBRARY_PRINT_ENABLE
#include <stdarg.h>
#include <stdint.h>
#include <generated/autoconf.h>
#ifdef CONFIG_MOCKTURTLE_LIBRARY_PRINT_ENABLE
static const char hex[] = "0123456789abcdef";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment