$OpenBSD: patch-src_filewatch_c,v 1.1 2013/12/03 00:49:44 fgsch Exp $
--- src/filewatch.c.orig	Sun Feb 24 14:01:39 2013
+++ src/filewatch.c	Sun Feb 24 14:02:00 2013
@@ -27,7 +27,9 @@
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>
+#ifdef HAVE_MALLOC_H
 #include <malloc.h>
+#endif
 
 #if HAVE_SYS_INOTIFY_H
 #include <sys/inotify.h>
