summaryrefslogtreecommitdiff
path: root/lib/select.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-06-14 11:21:48 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-06-14 11:21:48 +0000
commitdc3b3c69161963ac38c2b1d4a198acf2d9b66e12 (patch)
tree8efa122046d5167e967c2e3dd6140ddb709ae1bc /lib/select.h
parent82d3f97659d48383ca6b4816fc29a11d1e0ae7ee (diff)
downloadcurl-dc3b3c69161963ac38c2b1d4a198acf2d9b66e12.tar.gz
Make our own definitions of the POLL* defiens and the pollfd struct only get
done if the sys/poll.h file is missing, as we have seen machines with poll() present but without the header file and machines that don't get HAVE_POLL defined but that do have the sys/poll.h header file...
Diffstat (limited to 'lib/select.h')
-rw-r--r--lib/select.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/select.h b/lib/select.h
index ce7b2f897..a97947e40 100644
--- a/lib/select.h
+++ b/lib/select.h
@@ -46,7 +46,7 @@
* Definition of pollfd struct and constants for platforms lacking them.
*/
-#ifndef HAVE_POLL
+#ifndef HAVE_SYS_POLL_H
#define POLLIN 0x01
#define POLLPRI 0x02