Include poll.h instead of sys/poll.h

That is the proper POSIX way.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Martin Kletzander 2022-03-03 13:16:35 +01:00
parent 00babda45e
commit afecf0ee0b
5 changed files with 5 additions and 5 deletions

View File

@ -30,7 +30,7 @@
#endif
#include <sys/stat.h>
#include <sys/poll.h>
#include <poll.h>
#include <unistd.h>
#include <wait.h>

View File

@ -22,7 +22,7 @@
#include <config.h>
#include <sys/types.h>
#include <sys/poll.h>
#include <poll.h>
#include <stdarg.h>
#include <unistd.h>
#include <sys/utsname.h>

View File

@ -24,7 +24,7 @@
#include <config.h>
#include <sys/types.h>
#include <sys/poll.h>
#include <poll.h>
#include <stdarg.h>
#include <unistd.h>
#include <sys/stat.h>

View File

@ -22,7 +22,7 @@
#include <config.h>
#include <sys/types.h>
#include <sys/poll.h>
#include <poll.h>
#include <sys/time.h>
#include <dirent.h>
#include <stdarg.h>

View File

@ -24,7 +24,7 @@
#include <config.h>
#include <sys/types.h>
#include <sys/poll.h>
#include <poll.h>
#include <stdarg.h>
#include <unistd.h>
#include <sys/stat.h>