diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-06-08 12:49:07 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-06-08 12:49:07 -0700 |
| commit | 4da9d4e53a7fc0e0badf0c487cad531ba7662046 (patch) | |
| tree | 80d6c0589eca7e7c7c3802665bcb2ac1f708e37d /service/ControlPlane.cpp | |
| parent | 0ca764968ae0c09510d055390a3cec252caecfae (diff) | |
| download | infinitytier-4da9d4e53a7fc0e0badf0c487cad531ba7662046.tar.gz infinitytier-4da9d4e53a7fc0e0badf0c487cad531ba7662046.zip | |
Fix build against Debian version of libhttp-parser -- its old but it will work.
Diffstat (limited to 'service/ControlPlane.cpp')
| -rw-r--r-- | service/ControlPlane.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 <http_parser.h> +#else #include "../ext/http-parser/http_parser.h" +#endif #ifdef ZT_ENABLE_NETWORK_CONTROLLER #include "../controller/SqliteNetworkController.hpp" |
