diff options
Diffstat (limited to 'testing/mongodb/10-fix-poll-h.patch')
-rw-r--r-- | testing/mongodb/10-fix-poll-h.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/mongodb/10-fix-poll-h.patch b/testing/mongodb/10-fix-poll-h.patch new file mode 100644 index 0000000000..0ef14f4fed --- /dev/null +++ b/testing/mongodb/10-fix-poll-h.patch @@ -0,0 +1,11 @@ +--- orig/mongodb-src-r3.0.2/src/mongo/util/net/socket_poll.h ++++ mongodb-src-r3.0.2/src/mongo/util/net/socket_poll.h +@@ -29,7 +29,7 @@ + #pragma once + + #ifndef _WIN32 +-# include <sys/poll.h> ++# include <poll.h> + #else + # if defined(NTDDI_VERSION) && ( !defined(NTDDI_VISTA) || ( NTDDI_VERSION < NTDDI_VISTA ) ) + // These are only defined in winsock2.h on newer windows but we need them everywhere. |