Fixes : unity_fixture tests don't build. unity.c and unity_fixture_malloc_overrides.h neglected to include <stddef.h> even though the reference 'size_t' and 'NULL'.

This commit is contained in:
Andrew Burks
2015-06-30 15:24:39 -07:00
parent e40530d59f
commit 31b1255663
2 changed files with 3 additions and 0 deletions

@ -8,6 +8,8 @@
#ifndef UNITY_FIXTURE_MALLOC_OVERRIDES_H_
#define UNITY_FIXTURE_MALLOC_OVERRIDES_H_
#include <stddef.h>
#define malloc unity_malloc
#define calloc unity_calloc
#define realloc unity_realloc

@ -5,6 +5,7 @@
============================================================================ */
#include "unity.h"
#include <stddef.h>
#define UNITY_FAIL_AND_BAIL { Unity.CurrentTestFailed = 1; longjmp(Unity.AbortFrame, 1); }
#define UNITY_IGNORE_AND_BAIL { Unity.CurrentTestIgnored = 1; longjmp(Unity.AbortFrame, 1); }