replace sys/poll.h with poll.h

Fixes multiple warnings as this one:
```
/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
    1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
      |  ^~~~~~~
```

Acked-by: Yonggang Luo <luoyonggang@gmail.com>
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19587>
This commit is contained in:
David Heidelberg
2022-11-07 23:02:59 +01:00
committed by Marge Bot
parent 48c1e0e166
commit 902ec1fe0e
2 changed files with 2 additions and 2 deletions

View File

@@ -25,8 +25,8 @@
*
*/
#include <sys/poll.h>
#include <errno.h>
#include <poll.h>
#include "pan_bo.h"
#include "pan_context.h"

View File

@@ -30,11 +30,11 @@
#include <assert.h>
#include <errno.h>
#include <poll.h>
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/poll.h>
#include <unistd.h>
#include <time.h>