[eresi-dev] [patch] liballocproxy for haiku
zadig bru
zadig.bru at gmail.com
Sun Aug 17 21:08:19 UTC 2008
Here is a patch to compile liballocproxy on haiku. Note that this does
not work on other beos systems since only haiku has mmap.
Index: liballocproxy/aproxy_malloc.c
===================================================================
--- liballocproxy/aproxy_malloc.c (revision 1089)
+++ liballocproxy/aproxy_malloc.c (working copy)
@@ -312,7 +312,11 @@
/* For writev and struct iovec. */
#include <sys/uio.h>
/* For syslog. */
+#ifdef __BEOS__
+#include <syslog.h>
+#else
#include <sys/syslog.h>
+#endif
/* For various dynamic linking things. */
#include <dlfcn.h>
More information about the eresi-dev
mailing list