You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
2.1 KiB

  1. diff --git a/lib/asyncsocket/asyncsocket.c b/lib/asyncsocket/asyncsocket.c
  2. index 07a5d04b..01181a95 100644
  3. --- a/lib/asyncsocket/asyncsocket.c
  4. +++ b/lib/asyncsocket/asyncsocket.c
  5. @@ -86,7 +86,7 @@
  6. #include "random.h"
  7. #include "asyncsocket.h"
  8. #include "asyncSocketBase.h"
  9. -#include "poll.h"
  10. +#include "vm_poll.h"
  11. #include "log.h"
  12. #include "err.h"
  13. #include "hostinfo.h"
  14. diff --git a/lib/hgfsServer/hgfsServer.c b/lib/hgfsServer/hgfsServer.c
  15. index 46224551..fc691286 100644
  16. --- a/lib/hgfsServer/hgfsServer.c
  17. +++ b/lib/hgfsServer/hgfsServer.c
  18. @@ -48,7 +48,7 @@
  19. #include "hgfsServerOplock.h"
  20. #include "hgfsDirNotify.h"
  21. #include "userlock.h"
  22. -#include "poll.h"
  23. +#include "vm_poll.h"
  24. #include "mutexRankLib.h"
  25. #include "vm_basic_asm.h"
  26. #include "unicodeOperations.h"
  27. diff --git a/lib/include/asyncsocket.h b/lib/include/asyncsocket.h
  28. index 95a5e464..a4b4e5aa 100644
  29. --- a/lib/include/asyncsocket.h
  30. +++ b/lib/include/asyncsocket.h
  31. @@ -164,7 +164,7 @@ typedef struct AsyncSocket AsyncSocket;
  32. * Or the client can specify its favorite poll class and locking behavior.
  33. * Use of IVmdbPoll is only supported for regular sockets and for Attach.
  34. */
  35. -#include "poll.h"
  36. +#include "vm_poll.h"
  37. struct IVmdbPoll;
  38. typedef struct AsyncSocketPollParams {
  39. int flags; /* Default 0, only POLL_FLAG_NO_BULL is valid */
  40. diff --git a/lib/include/pollImpl.h b/lib/include/pollImpl.h
  41. index 46442e55..8bc66997 100644
  42. --- a/lib/include/pollImpl.h
  43. +++ b/lib/include/pollImpl.h
  44. @@ -44,7 +44,7 @@
  45. #define INCLUDE_ALLOW_USERLEVEL
  46. #include "includeCheck.h"
  47. -#include "poll.h"
  48. +#include "vm_poll.h"
  49. #include "vm_basic_asm.h"
  50. #if defined(__cplusplus)
  51. diff --git a/lib/include/poll.h b/lib/include/vm_poll.h
  52. similarity index 100%
  53. rename from lib/include/poll.h
  54. rename to lib/include/vm_poll.h
  55. diff --git a/lib/rpcIn/rpcin.c b/lib/rpcIn/rpcin.c
  56. index 47a3380e..660382c6 100644
  57. --- a/lib/rpcIn/rpcin.c
  58. +++ b/lib/rpcIn/rpcin.c
  59. @@ -57,7 +57,7 @@
  60. #if defined(VMTOOLS_USE_VSOCKET)
  61. # include <glib.h>
  62. -# include "poll.h"
  63. +# include "vm_poll.h"
  64. # include "asyncsocket.h"
  65. # include "vmci_defs.h"
  66. #include "dataMap.h"