iwyu: //aos/events/...
The full include-list for aos/events/event_loop_event.h:
<stddef.h> // for size_t
<chrono> // for operator==
"aos/time/time.h" // for monotonic_clock
"glog/logging.h" // for COMPACT_GOOGLE_LOG_FATAL, DCHECK, LogMessageFatal
The full include-list for aos/events/epoll.h:
<stdint.h> // for uint32_t, uint64_t
<sys/epoll.h> // for EPOLLERR, EPOLLIN, EPOLLOUT, EPOLLPRI
<atomic> // for atomic
<functional> // for function
<memory> // for unique_ptr
<vector> // for vector
"aos/time/time.h" // for monotonic_clock
The full include-list for aos/events/epoll.cc:
"aos/events/epoll.h"
<errno.h> // for errno, EAGAIN, EINTR
<fcntl.h> // for O_CLOEXEC, O_NONBLOCK
<sys/epoll.h> // for epoll_ctl, epoll_event, epoll_create1, epoll_wait, EPOLL_CTL_DEL, EPOLL_CLOEXEC, EPOLL_CTL_ADD, EPOLL_CTL_MOD
<sys/socket.h> // for getsockopt, SOL_SOCKET, SO_ERROR, socklen_t
<sys/stat.h> // for fstat, stat, timespec, S_ISSOCK
<sys/timerfd.h> // for itimerspec, timerfd_create, timerfd_settime, TFD_CLOEXEC, TFD_NONBLOCK, TFD_TIMER_ABSTIME
<time.h> // for CLOCK_MONOTONIC
<unistd.h> // for close, read, pipe2, write, ssize_t
<algorithm> // for find_if
<atomic> // for atomic
<cstring> // for strerror
<ostream> // for operator<<, basic_ostream, basic_ostream::operator<<, dec, hex
<string> // for char_traits, operator+, operator<<, string
<utility> // for move
<vector> // for vector, allocator
"aos/time/time.h" // for to_timespec, monotonic_clock
"glog/logging.h" // for ErrnoLogMessage, PCHECK, COMPACT_GOOGLE_LOG_FATAL, CheckNotNull, LogMessageFatal, CHECK, Check_EQImpl, GetReferenceableValue, CHECK_NOTNULL, Check_GEImpl, LOG, CHECK_EQ, CHECK_GE
The full include-list for aos/events/logging/boot_timestamp.h:
<stddef.h> // for size_t
<stdint.h> // for uint32_t
<chrono> // for operator+, operator-, operator<=>, operator==, operator/
<compare> // for strong_ordering, operator<, operator<=, operator>, operator>=
<iostream> // for ostream
<limits> // for numeric_limits
"aos/time/time.h" // for monotonic_clock
"glog/logging.h" // for Check_EQImpl, CHECK_EQ
The full include-list for aos/events/logging/file_operations.h:
<stddef.h> // for size_t
<filesystem> // for exists
<string> // for string
<string_view> // for string_view
<vector> // for vector
The full include-list for aos/events/logging/file_operations.cc:
"aos/events/logging/file_operations.h"
<algorithm> // for max
<ostream> // for operator<<, basic_ostream
"absl/strings/match.h" // for EndsWith
"glog/logging.h" // for COMPACT_GOOGLE_LOG_INFO, LogMessage, VLOG
Signed-off-by: Stephan Pleines <pleines.stephan@gmail.com>
Change-Id: Id814a252c8d807b890ba59aa54499e2c63bd92aa
diff --git a/aos/events/logging/file_operations.h b/aos/events/logging/file_operations.h
index 0c2133d..5f87ca5 100644
--- a/aos/events/logging/file_operations.h
+++ b/aos/events/logging/file_operations.h
@@ -1,8 +1,11 @@
#ifndef AOS_EVENTS_LOGGING_FILE_OPERATIONS_H_
#define AOS_EVENTS_LOGGING_FILE_OPERATIONS_H_
+#include <stddef.h>
+
#include <filesystem>
#include <string>
+#include <string_view>
#include <vector>
namespace aos::logger::internal {