]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
openbsd has but errors out when you use this header
authorMichael Jerris <mike@jerris.com>
Fri, 21 Feb 2014 20:29:05 +0000 (15:29 -0500)
committerMichael Jerris <mike@jerris.com>
Fri, 21 Feb 2014 20:29:11 +0000 (15:29 -0500)
libs/spandsp/src/alloc.c

index 273fad30d0a5ed9ffffdda9e65bc2a8f5f0aab96..9c5a1211f166395400997621c1b40f6a794538c8 100644 (file)
@@ -41,7 +41,7 @@
 #define __ISO_C_VISIBLE 2011
 #endif
 #include <stdlib.h>
-#if defined(HAVE_MALLOC_H)
+#if defined(HAVE_MALLOC_H) && !defined(__OpenBSD__)
 #include <malloc.h>
 #endif
 #include <inttypes.h>