Fix compilation when YAJL is not present

This commit is contained in:
Felipe Zimmerle
2017-02-03 13:57:16 -03:00
committed by Felipe Zimmerle
parent 9d33990550
commit 6f47462110
4 changed files with 34 additions and 11 deletions

View File

@@ -14,6 +14,8 @@
*/
#ifdef WITH_YAJL
#include <yajl/yajl_parse.h>
#include <string>
@@ -82,3 +84,5 @@ class JSON {
#endif // SRC_REQUEST_BODY_PROCESSOR_JSON_H_
#endif // WITH_YAJL