$NetBSD: patch-ac,v 1.3 2005/12/09 14:10:39 joerg Exp $ --- mapmalloc.c.orig 2003-01-28 20:04:25.000000000 +0000 +++ mapmalloc.c @@ -54,6 +54,9 @@ #include #include #include +#if defined(__INTERIX) +#include +#endif #ifdef __GLIBC__ /* * Broken GNU libc will include stdlib.h with conflicting @@ -551,7 +554,11 @@ size_t alignment, size; } /*ARGSUSED*/ +#if defined(__DragonFly__) +void * +#else char * +#endif valloc(size) size_t size; {