File tree Expand file tree Collapse file tree 13 files changed +30
-13
lines changed Expand file tree Collapse file tree 13 files changed +30
-13
lines changed Original file line number Diff line number Diff line change 2020#pragma once
2121
2222#include " Domain.h"
23- #include " supervise.grpc. pb.h"
23+ #include " supervise.pb.h"
2424
2525namespace domain {
2626
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ namespace ic {
3535 using Ptr = std::shared_ptr<Reporter>;
3636 static rust::Result<Reporter::Ptr> from (const flags::Arguments &flags);
3737
38- void report (const rpc::Event &request );
38+ void report (const rpc::Event &event );
3939
4040 public:
4141 explicit Reporter (ic::EventsDatabase::Ptr database);
Original file line number Diff line number Diff line change 1717 along with this program. If not, see <http://www.gnu.org/licenses/>.
1818 */
1919
20- #include < algorithm>
21-
2220#include " report/libexec/Array.h"
2321#include " report/libexec/Buffer.h"
2422
23+ #include < utility>
24+
2525namespace el {
2626
2727 char const * Buffer::store (char const * const input) noexcept
Original file line number Diff line number Diff line change 1717 along with this program. If not, see <http://www.gnu.org/licenses/>.
1818 */
1919
20- #include " config.h"
21-
2220#include " report/libexec/Environment.h"
2321#include " report/libexec/Array.h"
2422
Original file line number Diff line number Diff line change 1919
2020#pragma once
2121
22- #include < spawn.h >
22+ #include " config.h "
2323
2424#include " libresult/Result.h"
2525
26+ #ifdef HAVE_SPAWN_H
27+ #include < spawn.h>
28+ #endif
29+ #include < sys/types.h>
30+
2631namespace el {
2732
2833 struct Linker ;
Original file line number Diff line number Diff line change 1919
2020#pragma once
2121
22- #include < spawn.h >
22+ #include " config.h "
2323
2424#include " libresult/Result.h"
2525
26+ #ifdef HAVE_SPAWN_H
27+ #include < spawn.h>
28+ #endif
29+
2630namespace el {
2731
2832 /* *
Original file line number Diff line number Diff line change 1717 along with this program. If not, see <http://www.gnu.org/licenses/>.
1818 */
1919
20+ #include " config.h"
2021#include " report/libexec/Resolver.h"
2122
2223#include " report/libexec/Array.h"
2526
2627#include < algorithm>
2728#include < cerrno>
29+ #include < cstdlib>
30+ #ifdef HAVE_UNISTD_H
2831#include < unistd.h>
32+ #endif
2933
3034namespace {
3135
Original file line number Diff line number Diff line change 1717 along with this program. If not, see <http://www.gnu.org/licenses/>.
1818 */
1919
20+ #include " config.h"
21+
2022#include < atomic>
2123#include < cerrno>
2224#include < climits>
2830#include " report/libexec/Resolver.h"
2931#include " report/libexec/Session.h"
3032
33+ #ifdef HAVE_SPAWN_H
34+ #include < spawn.h>
35+ #endif
3136#if defined HAVE_NSGETENVIRON
3237#include < crt_externs.h>
3338#else
Original file line number Diff line number Diff line change 2323#include " libmain/Application.h"
2424#include " libmain/ApplicationLogConfig.h"
2525#include " libflags/Flags.h"
26+ #include " libresult/Result.h"
2627
2728namespace wr {
2829 using namespace domain ;
Original file line number Diff line number Diff line change 2525
2626#include < chrono>
2727#include < random>
28+ #include < cstdint>
29+ #include < string>
2830
2931namespace {
3032
You can’t perform that action at this time.
0 commit comments