Skip to content

Commit dd7469f

Browse files
authored
Make #include for internal headers always use fully qualified paths (etr#183)
1 parent 04a23c8 commit dd7469f

18 files changed

+40
-40
lines changed

src/basic_auth_fail_response.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
USA
1919
*/
2020

21-
#include "basic_auth_fail_response.hpp"
21+
#include "httpserver/basic_auth_fail_response.hpp"
2222

2323
using namespace std;
2424

src/deferred_response.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
USA
1919
*/
2020

21-
#include "deferred_response.hpp"
21+
#include "httpserver/deferred_response.hpp"
2222

2323
using namespace std;
2424

src/details/http_endpoint.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
USA
1919
*/
2020

21-
#include "details/http_endpoint.hpp"
22-
#include "http_utils.hpp"
23-
#include "string_utilities.hpp"
21+
#include "httpserver/details/http_endpoint.hpp"
22+
#include "httpserver/http_utils.hpp"
23+
#include "httpserver/string_utilities.hpp"
2424

2525
using namespace std;
2626

src/digest_auth_fail_response.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
USA
1919
*/
2020

21-
#include "digest_auth_fail_response.hpp"
21+
#include "httpserver/digest_auth_fail_response.hpp"
2222

2323
using namespace std;
2424

src/file_response.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*/
2020

2121
#include <fcntl.h>
22-
#include "file_response.hpp"
22+
#include "httpserver/file_response.hpp"
2323

2424
using namespace std;
2525

src/http_request.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
2020
*/
2121

22-
#include "http_utils.hpp"
23-
#include "http_request.hpp"
24-
#include "string_utilities.hpp"
22+
#include "httpserver/http_utils.hpp"
23+
#include "httpserver/http_request.hpp"
24+
#include "httpserver/string_utilities.hpp"
2525
#include <iostream>
2626

2727
using namespace std;

src/http_resource.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020

2121
#include <stdlib.h>
2222

23-
#include "http_resource.hpp"
24-
#include "http_utils.hpp"
25-
#include "http_request.hpp"
26-
#include "http_response.hpp"
27-
#include "webserver.hpp"
28-
#include "string_utilities.hpp"
29-
#include "string_response.hpp"
23+
#include "httpserver/http_resource.hpp"
24+
#include "httpserver/http_utils.hpp"
25+
#include "httpserver/http_request.hpp"
26+
#include "httpserver/http_response.hpp"
27+
#include "httpserver/webserver.hpp"
28+
#include "httpserver/string_utilities.hpp"
29+
#include "httpserver/string_response.hpp"
3030

3131
using namespace std;
3232

src/http_response.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
#include <sstream>
2525
#include <fcntl.h>
2626
#include <unistd.h>
27-
#include "http_utils.hpp"
28-
#include "webserver.hpp"
29-
#include "http_response.hpp"
27+
#include "httpserver/http_utils.hpp"
28+
#include "httpserver/webserver.hpp"
29+
#include "httpserver/http_response.hpp"
3030

3131
using namespace std;
3232

src/http_utils.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
#include <fstream>
3838
#include <iostream>
3939
#include <stdexcept>
40-
#include "string_utilities.hpp"
41-
#include "http_utils.hpp"
40+
#include "httpserver/string_utilities.hpp"
41+
#include "httpserver/http_utils.hpp"
4242

4343
#pragma GCC diagnostic ignored "-Warray-bounds"
4444
#define CHECK_BIT(var,pos) ((var) & (1<<(pos)))

src/httpserver/webserver.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
#include "httpserver/create_webserver.hpp"
4747
#include "httpserver/http_response.hpp"
4848

49-
#include "details/http_endpoint.hpp"
49+
#include "httpserver/details/http_endpoint.hpp"
5050

5151
namespace httpserver {
5252

0 commit comments

Comments
 (0)