Skip to content

Commit

Permalink
Merge 9342109 into 3e12455
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Aug 25, 2017
2 parents 3e12455 + 9342109 commit 1b245e5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions include/curl/system.h
Expand Up @@ -377,6 +377,12 @@
# define CURL_TYPEOF_CURL_SOCKLEN_T int
#endif

#ifdef _AIX
/* AIX needs <sys/poll.h> */
#define CURL_PULL_SYS_POLL_H
#endif


/* CURL_PULL_WS2TCPIP_H is defined above when inclusion of header file */
/* ws2tcpip.h is required here to properly make type definitions below. */
#ifdef CURL_PULL_WS2TCPIP_H
Expand All @@ -397,6 +403,12 @@
# include <sys/socket.h>
#endif

/* CURL_PULL_SYS_POLL_H is defined above when inclusion of header file */
/* sys/poll.h is required here to properly make type definitions below. */
#ifdef CURL_PULL_SYS_POLL_H
# include <sys/poll.h>
#endif

/* Data type definition of curl_socklen_t. */
#ifdef CURL_TYPEOF_CURL_SOCKLEN_T
typedef CURL_TYPEOF_CURL_SOCKLEN_T curl_socklen_t;
Expand Down

0 comments on commit 1b245e5

Please sign in to comment.