aboutsummaryrefslogtreecommitdiffstats
path: root/testing/snapper/fix-poll_h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/snapper/fix-poll_h.patch')
-rw-r--r--testing/snapper/fix-poll_h.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/snapper/fix-poll_h.patch b/testing/snapper/fix-poll_h.patch
new file mode 100644
index 0000000000..74de79892a
--- /dev/null
+++ b/testing/snapper/fix-poll_h.patch
@@ -0,0 +1,13 @@
+The correct location is <poll.h>, not <sys/poll.h>
+
+--- a/snapper/SystemCmd.h 2014-02-05 14:22:06.000000000 +0100
++++ b/snapper/SystemCmd.h 2015-08-30 10:56:03.685179465 +0200
+@@ -23,7 +23,7 @@
+ #ifndef SNAPPER_SYSTEM_CMD_H
+ #define SNAPPER_SYSTEM_CMD_H
+
+-#include <sys/poll.h>
++#include <poll.h>
+ #include <stdio.h>
+
+ #include <string>