$OpenBSD: patch-libfreeipmi_src_ipmi-semaphores_h,v 1.1.1.1 2007/10/25 18:17:02 wilfried Exp $ --- libfreeipmi/src/ipmi-semaphores.h.orig Tue Jul 18 22:33:04 2006 +++ libfreeipmi/src/ipmi-semaphores.h Tue Oct 23 16:36:02 2007 @@ -77,7 +77,7 @@ do { \ #define IPMI_MUTEX_UP(semid) IPMI_MUTEX_UNLOCK (semid) -#if defined(__FreeBSD__) +#ifndef __LINUX__ /* union semun is defined by including */ #else /* according to X/OPEN we have to define it ourselves */