summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/common/sprintf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/common/sprintf.c b/firmware/common/sprintf.c
index c700034..94fc295 100644
--- a/firmware/common/sprintf.c
+++ b/firmware/common/sprintf.c
@@ -29,6 +29,7 @@
#include <stdbool.h>
#include "file.h" /* for write(), used in fprintf() */
+#include "sprintf.h" /* to allow the simulator magic */
static const char hexdigit[] = "0123456789ABCDEF";