vcpkg/ports/clickhouse-cpp/00001-fix-build.patch
zi-m 22389a4690 [clickhouse-cpp] Add new port (#7880)
* cityhash

* clickhouse-cpp

* add LZ4_DISABLE_DEPRECATE_WARNINGS

* add CXX_STANDARD 11

* remove 'usage' file

* tabs -> spaces

* use version of 2019-05-22 instead of patching code

* fix: remove ports/cityhash/usage
2019-09-26 12:56:46 -07:00

43 lines
970 B
Diff

diff --git a/clickhouse/base/compressed.cpp b/clickhouse/base/compressed.cpp
index 6b7af08..c3a6449 100644
--- a/clickhouse/base/compressed.cpp
+++ b/clickhouse/base/compressed.cpp
@@ -1,8 +1,8 @@
#include "compressed.h"
#include "wire_format.h"
-#include <cityhash/city.h>
-#include <lz4/lz4.h>
+#include <city.h>
+#include <lz4.h>
#include <system_error>
diff --git a/clickhouse/client.cpp b/clickhouse/client.cpp
index 1053006..59950ab 100644
--- a/clickhouse/client.cpp
+++ b/clickhouse/client.cpp
@@ -8,8 +8,8 @@
#include "columns/factory.h"
-#include <cityhash/city.h>
-#include <lz4/lz4.h>
+#include <city.h>
+#include <lz4.h>
#include <assert.h>
#include <atomic>
diff --git a/clickhouse/types/types.h b/clickhouse/types/types.h
index 8d453cd..69aa6a4 100644
--- a/clickhouse/types/types.h
+++ b/clickhouse/types/types.h
@@ -4,6 +4,7 @@
#include <memory>
#include <string>
#include <vector>
+#include <stdexcept>
namespace clickhouse {