Use correct <poll.h> include

* `<sys/poll.h>` is not specified in POSIX
This commit is contained in:
David Seifert
2021-08-02 17:31:32 +01:00
committed by Luca Boccassi
parent feac9a1d1b
commit 2b6c0bb2a3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#include <sys/poll.h>
#include <poll.h>
#include "fd-util.h"
#include "io-util.h"
+1 -1
View File
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#include <malloc.h>
#include <sys/poll.h>
#include <poll.h>
#include "alloc-util.h"
#include "errno-util.h"