Skip to content

Commit

Permalink
add poll header to non-WIN32 extinet header
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdigity committed May 15, 2024
1 parent 79ff4b5 commit 89987e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extinet.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

#ifdef _WIN32
#pragma comment(lib, "ws2_32.lib")
#define FD_SETSIZE 1024 /* for UNIX consistancy */
#include <winsock2.h> /* for socket handling */
#include <ws2tcpip.h> /* for socklen_t */

Expand All @@ -32,6 +31,7 @@
#include <netdb.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <poll.h>

#define os_sock_errno ( errno )
#define os_sock_connected(_e) ( _e == EISCONN )
Expand Down

0 comments on commit 89987e1

Please # to comment.