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.

84 lines
1.7 KiB

  1. --- a/src/mtrie.cpp
  2. +++ b/src/mtrie.cpp
  3. @@ -17,11 +17,11 @@
  4. along with this program. If not, see <http://www.gnu.org/licenses/>.
  5. */
  6. -#include <stdlib.h>
  7. -
  8. #include <new>
  9. #include <algorithm>
  10. +#include <stdlib.h>
  11. +
  12. #include "platform.hpp"
  13. #if defined ZMQ_HAVE_WINDOWS
  14. #include "windows.hpp"
  15. --- a/src/raw_encoder.cpp
  16. +++ b/src/raw_encoder.cpp
  17. @@ -17,6 +17,11 @@
  18. along with this program. If not, see <http://www.gnu.org/licenses/>.
  19. */
  20. +#include <basic_definitions>
  21. +#include <exception>
  22. +#include <cstddef>
  23. +#include <algorithm>
  24. +
  25. #include "encoder.hpp"
  26. #include "raw_encoder.hpp"
  27. #include "likely.hpp"
  28. --- a/src/trie.cpp
  29. +++ b/src/trie.cpp
  30. @@ -17,11 +17,11 @@
  31. along with this program. If not, see <http://www.gnu.org/licenses/>.
  32. */
  33. -#include <stdlib.h>
  34. -
  35. #include <new>
  36. #include <algorithm>
  37. +#include <stdlib.h>
  38. +
  39. #include "platform.hpp"
  40. #if defined ZMQ_HAVE_WINDOWS
  41. #include "windows.hpp"
  42. --- a/src/encoder.hpp
  43. +++ b/src/encoder.hpp
  44. @@ -29,7 +29,6 @@
  45. #include <stddef.h>
  46. #include <string.h>
  47. #include <stdlib.h>
  48. -#include <algorithm>
  49. #include "err.hpp"
  50. #include "msg.hpp"
  51. --- a/src/v1_encoder.cpp
  52. +++ b/src/v1_encoder.cpp
  53. @@ -17,6 +17,11 @@
  54. along with this program. If not, see <http://www.gnu.org/licenses/>.
  55. */
  56. +#include <basic_definitions>
  57. +#include <exception>
  58. +#include <cstddef>
  59. +#include <algorithm>
  60. +
  61. #include "encoder.hpp"
  62. #include "v1_encoder.hpp"
  63. #include "likely.hpp"
  64. --- a/src/v2_encoder.cpp
  65. +++ b/src/v2_encoder.cpp
  66. @@ -17,6 +17,11 @@
  67. along with this program. If not, see <http://www.gnu.org/licenses/>.
  68. */
  69. +#include <basic_definitions>
  70. +#include <exception>
  71. +#include <cstddef>
  72. +#include <algorithm>
  73. +
  74. #include "v2_protocol.hpp"
  75. #include "v2_encoder.hpp"
  76. #include "likely.hpp"