aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2015-07-17 17:02:15 +0100
committerWill Deacon <will.deacon@arm.com>2015-07-20 18:25:48 +0100
commit52c22e6e64a94cc701d86587d32cd3822ac5c293 (patch)
tree139c6f7cff1ccdd12fc4667f5c0b890efa5afc66
parentd77bd4f466f341d4b35fe8b91176ef8a37160e19 (diff)
downloadkvmtool-52c22e6e64a94cc701d86587d32cd3822ac5c293.tar.gz
use <poll.h> instead of <sys/poll.h>
The manpage of poll(2) states that the prototype of poll is defined in <poll.h>. Use that header file instead of <sys/poll.h> to allow compilation against musl-libc. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
-rw-r--r--disk/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disk/core.c b/disk/core.c
index 309e16ce..dd2f258b 100644
--- a/disk/core.c
+++ b/disk/core.c
@@ -5,7 +5,7 @@
#include <linux/err.h>
#include <sys/eventfd.h>
-#include <sys/poll.h>
+#include <poll.h>
#define AIO_MAX 256