summaryrefslogtreecommitdiff
path: root/src/ipmievd.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-05-08 22:59:06 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-05-08 22:59:06 +0200
commita7c8ed90be739a49937a229828c470f1ad01396e (patch)
tree4cd43ff357d98a1ce5afb3bb9449afcce5a299d1 /src/ipmievd.c
parentfa5ac2da06fae952fe1295a1e955bdb35e6d86c4 (diff)
parent342ebce798fe98ede64939a49bbc3770d8214649 (diff)
Merge tag 'upstream/1.8.17'
Upstream version 1.8.17
Diffstat (limited to 'src/ipmievd.c')
-rw-r--r--src/ipmievd.c3
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>