0003-Broken-build-on-Windows.patch 900 B

123456789101112131415161718192021222324252627
  1. From eaa70a289288db1e8d90a2a9bcde435a8975fe74 Mon Sep 17 00:00:00 2001
  2. From: Sergey Lukashevich <sergey.lukashevi4@gmail.com>
  3. Date: Fri, 26 Jul 2019 21:58:34 +0300
  4. Subject: [PATCH] Broken build on Windows: "http_parser.h(66,18): error C2039:
  5. 'runtime_error': is not a member of 'std'"
  6. Add missing <stdexcept> include.
  7. [Retrieved from:
  8. https://github.com/darrenjs/wampcc/commit/eaa70a289288db1e8d90a2a9bcde435a8975fe74]
  9. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  10. ---
  11. include/wampcc/http_parser.h | 1 +
  12. 1 file changed, 1 insertion(+)
  13. diff --git a/include/wampcc/http_parser.h b/include/wampcc/http_parser.h
  14. index a9405dd..4c20417 100644
  15. --- a/include/wampcc/http_parser.h
  16. +++ b/include/wampcc/http_parser.h
  17. @@ -11,6 +11,7 @@
  18. #include <map>
  19. #include <string>
  20. #include <memory>
  21. +#include <stdexcept>
  22. // types brought in from nodejs http-parser project
  23. struct http_parser;