1
0
mirror of https://github.com/meekrosoft/fff synced 2026-01-23 00:15:59 +01:00

Added missing #include, built and tested

This commit is contained in:
Steve Hill
2016-09-23 19:25:30 +01:00
parent 54cb4ff06e
commit df0dc5deea
2 changed files with 4 additions and 0 deletions

View File

@@ -10,6 +10,8 @@ $MAX_CALL_HISTORY = 50
def include_dependencies
putd "#include <stdarg.h>"
putd "#include <string.h> /* For memset and memcpy */"
putd ""
end
def output_constants

2
fff.h
View File

@@ -27,6 +27,8 @@ SOFTWARE.
#define FAKE_FUNCTIONS
#include <stdarg.h>
#include <string.h> /* For memset and memcpy */
#define FFF_MAX_ARGS (20u)
#ifndef FFF_ARG_HISTORY_LEN
#define FFF_ARG_HISTORY_LEN (50u)