diff options
Diffstat (limited to 'src/ipmievd.c')
-rw-r--r-- | src/ipmievd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ipmievd.c b/src/ipmievd.c index cc1ca0f..caefd95 100644 --- a/src/ipmievd.c +++ b/src/ipmievd.c @@ -30,6 +30,7 @@ * EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. */ #define _XOPEN_SOURCE 700 +#define _BSD_SOURCE #include <stdio.h> #include <fcntl.h> @@ -70,7 +71,7 @@ # else # include "plugins/open/open.h" # endif -# include <sys/poll.h> +# include <poll.h> #endif /* IPMI_INTF_OPEN */ #include <ipmitool/helper.h> |