Skip to content

Commit

Permalink
http: forward declare json in api
Browse files Browse the repository at this point in the history
  • Loading branch information
binarytrails authored and aberaud committed Sep 24, 2019
1 parent 833dc7f commit dcdfeb0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/opendht/http.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@

#include <memory>
#include <queue>
#include <json/json.h>

namespace Json {
class Value;
}

extern "C" {
struct http_parser;
Expand Down
1 change: 1 addition & 0 deletions src/http.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <asio.hpp>
#include <restinio/impl/tls_socket.hpp>
#include <http_parser.h>
#include <json/json.h>

namespace dht {
namespace http {
Expand Down

0 comments on commit dcdfeb0

Please sign in to comment.