[Openais] [Patch] Fix Corosync build on BSD systems

Steven Dake sdake at redhat.com
Tue Jun 30 10:28:13 PDT 2009


good for merge

regards
-steve

On Tue, 2009-06-30 at 18:15 +0200, Jérôme Flesch wrote:
> Hello,
> 
> here is a patch to fix the build on bsd systems (the content of the 
> patch is pretty much self-explanatory).
> plain text document attachment (fix-bsd-build.patch)
> svn diff
> Index: exec/evil.c
> ===================================================================
> --- exec/evil.c	(revision 2323)
> +++ exec/evil.c	(working copy)
> @@ -49,7 +49,11 @@
>  #include <sys/time.h>
>  #include <sys/resource.h>
>  #include <sys/stat.h>
> +#if defined(COROSYNC_BSD) || defined(COROSYNC_DARWIN)
> +#include <sys/sysctl.h>
> +#else
>  #include <sys/sysinfo.h>
> +#endif
>  #include <netinet/in.h>
>  #include <arpa/inet.h>
>  #include <unistd.h>
> _______________________________________________
> Openais mailing list
> Openais at lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/openais



More information about the Openais mailing list