summaryrefslogtreecommitdiff
path: root/src/test/test-seccomp.c
diff options
context:
space:
mode:
authorMatija Skala <mskala@gmx.com>2017-10-30 10:32:45 +0100
committerMatija Skala <mskala@gmx.com>2017-10-30 10:32:45 +0100
commitd7e454ba9c5b25bfecbe85000d673dc1c771fb71 (patch)
tree2d9a390fd166703014ca8c1f78297e0302e652ec /src/test/test-seccomp.c
parent5a10b4d6bf209aa95f5a675130da184343aa5fb3 (diff)
downloadsystemd-d7e454ba9c5b25bfecbe85000d673dc1c771fb71.tar.gz
fix includes
sys/wait.h is needed for WEXITED macro poll.h is more portable than sys/poll.h
Diffstat (limited to 'src/test/test-seccomp.c')
-rw-r--r--src/test/test-seccomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-seccomp.c b/src/test/test-seccomp.c
index 4d63b68809..e5f97894b7 100644
--- a/src/test/test-seccomp.c
+++ b/src/test/test-seccomp.c
@@ -17,12 +17,12 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include <poll.h>
#include <sched.h>
#include <stdlib.h>
#include <sys/eventfd.h>
#include <sys/mman.h>
#include <sys/personality.h>
-#include <sys/poll.h>
#include <sys/shm.h>
#include <sys/types.h>
#include <unistd.h>