fix includes

sys/wait.h is needed for WEXITED macro

poll.h is more portable than sys/poll.h
This commit is contained in:
Matija Skala 2017-10-30 10:32:45 +01:00
parent 5a10b4d6bf
commit d7e454ba9c
2 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@
***/
#include <sys/prctl.h>
#include <sys/wait.h>
#include "sd-bus.h"

View File

@ -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>