]> git.proxmox.com Git - mirror_corosync.git/commitdiff
Fix build on bsd systems.
authorSteven Dake <sdake@redhat.com>
Wed, 1 Jul 2009 19:55:18 +0000 (19:55 +0000)
committerSteven Dake <sdake@redhat.com>
Wed, 1 Jul 2009 19:55:18 +0000 (19:55 +0000)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2336 fd59a12c-fef9-0310-b244-a6a79926bd2f

exec/evil.c

index fbe926aac5e3461c55792c2d6a4d47431a96a38f..6d25f9a4a8eade9a6780fccfae447e77a48585d8 100644 (file)
 #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>