Skip to content

Commit

Permalink
Merge pull request meekrosoft#16 from CiderMan/master
Browse files Browse the repository at this point in the history
Fix for issue 8
  • Loading branch information
Mike Long authored Sep 25, 2016
2 parents f88a17c + df0dc5d commit ff40273
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
build/
*~
2 changes: 2 additions & 0 deletions fakegen.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

def include_dependencies
putd "#include <stdarg.h>"
putd "#include <string.h> /* For memset and memcpy */"
putd ""
end

def output_constants
Expand Down
2 changes: 2 additions & 0 deletions fff.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ff40273

Please sign in to comment.