--- a/avahi-common/malloc.h
+++ b/avahi-common/malloc.h
@@ -22,6 +22,7 @@
 
 /** \file malloc.h Memory allocation */
 
+#include_next <malloc.h>
 #include <sys/types.h>
 #include <stdarg.h>
 #include <limits.h>
