HttpRequest: add missing config.h include

fuzzers build was failing with:

	In file included from fuzzer/Admin.cpp:3:
	In file included from ./wsd/Admin.hpp:12:
	In file included from ./wsd/AdminModel.hpp:20:
	In file included from ./net/WebSocketHandler.hpp:18:
	./net/HttpRequest.hpp:667:31: error: expected ')'
		_header.add("Server", HTTP_SERVER_STRING);
				      ^
	./common/Common.hpp:62:51: note: expanded from macro 'HTTP_SERVER_STRING'
	#define HTTP_SERVER_STRING "LOOLWSD HTTP Server " LOOLWSD_VERSION
							  ^
	./net/HttpRequest.hpp:667:20: note: to match this '('
		_header.add("Server", HTTP_SERVER_STRING);
			   ^

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: Ibc3905e3e62e0eb9788b750971916ff4a4937f12
pull/1884/head
Miklos Vajna 2021-03-29 17:38:42 +02:00
parent ffd61d848f
commit c65d8e7c7f
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,7 @@
#include <iostream>
#include "config.h"
#include "Admin.hpp"
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)

View File

@ -1,5 +1,7 @@
#include <iostream>
#include "config.h"
#include "ClientSession.hpp"
bool DoInitialization()