From 4da9d4e53a7fc0e0badf0c487cad531ba7662046 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 8 Jun 2016 12:49:07 -0700 Subject: Fix build against Debian version of libhttp-parser -- its old but it will work. --- service/ControlPlane.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'service/ControlPlane.cpp') diff --git a/service/ControlPlane.cpp b/service/ControlPlane.cpp index 060f49e2..2006346f 100644 --- a/service/ControlPlane.cpp +++ b/service/ControlPlane.cpp @@ -22,7 +22,11 @@ #include "../version.h" #include "../include/ZeroTierOne.h" +#ifdef ZT_USE_SYSTEM_HTTP_PARSER +#include +#else #include "../ext/http-parser/http_parser.h" +#endif #ifdef ZT_ENABLE_NETWORK_CONTROLLER #include "../controller/SqliteNetworkController.hpp" -- cgit v1.2.3