fix includes
authorMatija Skala <mskala@gmx.com>
Mon, 30 Oct 2017 09:32:45 +0000 (10:32 +0100)
committerMatija Skala <mskala@gmx.com>
Mon, 30 Oct 2017 09:32:45 +0000 (10:32 +0100)
sys/wait.h is needed for WEXITED macro

poll.h is more portable than sys/poll.h

src/import/importd.c
src/test/test-seccomp.c

index 9b3fd06..22ac5fc 100644 (file)
@@ -18,6 +18,7 @@
 ***/
 
 #include <sys/prctl.h>
+#include <sys/wait.h>
 
 #include "sd-bus.h"
 
index 4d63b68..e5f9789 100644 (file)
   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>