Fix poll.h include path

The correct include path for poll(2) is poll.h not sys/poll.h.
sys/poll.h may not be available on some libcs or may issue a
warning. In particular this fixes a warning on musl systems.
pull/1370/head
murray 2024-02-15 10:33:25 +00:00
rodzic 25785b92db
commit 9f84dcdef8
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -12,7 +12,7 @@
#include <win32_socket.h>
#else
#include <unistd.h>
#include <sys/poll.h>
#include <poll.h>
#endif
#include "gdb-remote.h"