]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fix includes 7218/head
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 9b3fd06b529e06fcac551665de8b47a337924903..22ac5fcc84925056d00a8d892b82e0847d8ffaae 100644 (file)
@@ -18,6 +18,7 @@
 ***/
 
 #include <sys/prctl.h>
+#include <sys/wait.h>
 
 #include "sd-bus.h"
 
index 4d63b688096184573f678dd4fd449fd05083028b..e5f97894b7de7b7015f8cdbde77738d2322c3f02 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>