[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 58/256: system.h: include sys/poll.h for AIX
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 58/256: system.h: include sys/poll.h for AIX |
Date: |
Fri, 06 Oct 2017 19:42:29 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit 8a84fcc4b59e8b78d2acc6febf44a43d6bc81b59
Author: Daniel Stenberg <address@hidden>
AuthorDate: Fri Aug 25 23:42:38 2017 +0200
system.h: include sys/poll.h for AIX
... to get the event/revent defines that might be used for the poll
struct.
Reported-by: Michael Smith
Fixes #1828
Closes #1833
---
include/curl/system.h | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/include/curl/system.h b/include/curl/system.h
index a6640ba52..39dae754c 100644
--- a/include/curl/system.h
+++ b/include/curl/system.h
@@ -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
@@ -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;
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] 26/256: cmake: sizeof curl_off_t, remove unused detections, (continued)
- [GNUnet-SVN] [gnurl] 26/256: cmake: sizeof curl_off_t, remove unused detections, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 28/256: lib557: no longer use CURL_SIZEOF_* defines, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 51/256: imap: support PREAUTH, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 32/256: curl/system.h: check for __ppc__ as well, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 34/256: http2_recv: return error better on fatal h2 errors, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 39/256: runtests: fixed case insensitive matching of keywords, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 41/256: curl/system.h: fix build for hppa, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 38/256: tests: Make sure libtests call curl_global_cleanup(), gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 53/256: imap: use defined names for response codes, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 33/256: KNOWN_BUGS: HTTP test server 'connection-monitor' problems, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 58/256: system.h: include sys/poll.h for AIX,
gnunet <=
- [GNUnet-SVN] [gnurl] 48/256: config-dos: add missing defines, SIZEOF_* and two others, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 55/256: fuzz/Makefile.am: remove curlbuild.h leftovers, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 82/256: curl_ntlm_core: don't complain but #include OpenSSL header if needed, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 63/256: vtls: make sure all _data_pending() functions return bool, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 62/256: vtls: make sure all _cleanup() functions return void, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 91/256: version: if built with more than one SSL backend, report all of them, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 88/256: docs/examples: demonstrate how to select SSL backends, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 61/256: vtls: use consistent signature for _random() implementations, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 92/256: vtls: use Curl_ssl_multi pseudo backend only when needed, gnunet, 2017/10/06
- [GNUnet-SVN] [gnurl] 83/256: vtls: fold the backend ID into the Curl_ssl structure, gnunet, 2017/10/06