Browse Source

Not all systems (e.g. osx) have malloc.h, include stdlib.h instead.

tags/json-c-0.14-20200419
Eric Haszlakiewicz 5 years ago
parent
commit
f357081b57
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      vasprintf_compat.h

+ 1
- 1
vasprintf_compat.h View File

@@ -8,7 +8,7 @@


#include "snprintf_compat.h" #include "snprintf_compat.h"


#include <malloc.h>
#include <stdlib.h>


#if !defined(HAVE_VASPRINTF) #if !defined(HAVE_VASPRINTF)
/* CAW: compliant version of vasprintf */ /* CAW: compliant version of vasprintf */


Loading…
Cancel
Save