Skip to content

Commit

Permalink
fix: ensure include pist_quote.h, remove duplicate includes
Browse files Browse the repository at this point in the history
Make sure, that every compilation unit has an include to pist_quote.h
where needed. Additionally removed dupplicate includes.
  • Loading branch information
Finkman authored and dgreatwood committed Dec 24, 2024
1 parent 53e60a6 commit 3f50220
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/pistache/pist_check.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#define INCLUDED_PSCHECK_H

#include <mutex>

#include <pistache/pist_quote.h>
#include "pist_syslog.h"

// If DEBUG is enabled, PS_LOGDBG_STACK_TRACE logs a stack trace
Expand Down
2 changes: 0 additions & 2 deletions include/pistache/transport.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

#include PST_SYS_RESOURCE_HDR // for PST_RUSAGE + PST_GETRUSAGE

#include <pistache/pist_timelog.h>
#include <pistache/pist_quote.h>
#include <pistache/async.h>
#include <pistache/mailbox.h>
#include <pistache/pist_quote.h>
Expand Down
1 change: 1 addition & 0 deletions src/common/transport.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
*/

#include <pistache/eventmeth.h>
#include <pistache/pist_quote.h>

#ifdef _USE_LIBEVENT_LIKE_APPLE

Expand Down
1 change: 1 addition & 0 deletions src/server/endpoint.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include <pistache/config.h>
#include <pistache/endpoint.h>
#include <pistache/peer.h>
#include <pistache/pist_quote.h>
#include <pistache/tcp.h>

#include <array>
Expand Down
1 change: 1 addition & 0 deletions src/server/listener.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <pistache/listener.h>
#include <pistache/os.h>
#include <pistache/peer.h>
#include <pistache/pist_quote.h>
#include <pistache/ssl_wrappers.h>
#include <pistache/transport.h>

Expand Down

0 comments on commit 3f50220

Please sign in to comment.