openbsd has but errors out when you use this header

This commit is contained in:
Michael Jerris 2014-02-21 15:29:05 -05:00
parent 36f1e5e2bb
commit 4f8bb1e465
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@
#define __ISO_C_VISIBLE 2011 #define __ISO_C_VISIBLE 2011
#endif #endif
#include <stdlib.h> #include <stdlib.h>
#if defined(HAVE_MALLOC_H) #if defined(HAVE_MALLOC_H) && !defined(__OpenBSD__)
#include <malloc.h> #include <malloc.h>
#endif #endif
#include <inttypes.h> #include <inttypes.h>