Skip to content

Commit

Permalink
UPBGE: Fix compilation with WITH_ASSERT_ABORT option.
Browse files Browse the repository at this point in the history
If this option is enabled we must import stdlib.h in BLI_utildefines.h.
  • Loading branch information
panzergame committed Apr 12, 2016
1 parent a333f16 commit f486ef7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/blender/blenlib/BLI_utildefines.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ extern "C" {
#include <stdio.h>
#endif

#ifdef WITH_ASSERT_ABORT
#include <stdlib.h>
#endif


/* varargs macros (keep first so others can use) */
/* --- internal helpers --- */
Expand Down

0 comments on commit f486ef7

Please sign in to comment.