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.

25 lines
692 B

  1. From 409a82f0e35fc33627f16180af7ba8a617347c8e Mon Sep 17 00:00:00 2001
  2. From: Peter Newman <peterjnewman@gmail.com>
  3. Date: Sat, 9 Mar 2019 14:08:01 +0000
  4. Subject: [PATCH] Add the missing config.h include
  5. ---
  6. protoc/StrUtil.cpp | 5 +++++
  7. 1 file changed, 5 insertions(+)
  8. diff --git a/protoc/StrUtil.cpp b/protoc/StrUtil.cpp
  9. index 2914e82f1..d300b71e8 100644
  10. --- a/protoc/StrUtil.cpp
  11. +++ b/protoc/StrUtil.cpp
  12. @@ -41,6 +41,11 @@
  13. #include "protoc/StrUtil.h"
  14. +#if HAVE_CONFIG_H
  15. +#include <config.h>
  16. +#endif // HAVE_CONFIG_H
  17. +
  18. +// Required for Protobuf 3.7 onwards
  19. #ifdef HAVE_GOOGLE_PROTOBUF_IO_STRTOD_H
  20. #include <google/protobuf/io/strtod.h>
  21. #endif // HAVE_GOOGLE_PROTOBUF_IO_STRTOD_H