tolerate missing POLLRDHUP definition

This commit is contained in:
John
2022-09-24 18:34:01 +02:00
parent 6bb1639577
commit 309ed1f885
+4
View File
@@ -153,6 +153,10 @@ string fetchData(ebusd::TCPSocket* socket, bool &listening, uint16_t timeout, bo
memset(fds, 0, sizeof(fds));
#ifndef POLLRDHUP
#define POLLRDHUP 0
#endif
#define IDX_STDIN 1
#define IDX_SOCK 0