mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
chore: iwyu (#5746)
This commit is contained in:
@@ -5,20 +5,23 @@
|
||||
|
||||
#include <cassert>
|
||||
#include <cerrno>
|
||||
#include <pthread.h>
|
||||
#include <csignal>
|
||||
#include <string_view>
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h> /* fork(), setsid(), chdir(), dup2(), close(), pipe() */
|
||||
|
||||
#ifdef HAVE_SYS_SIGNALFD_H
|
||||
#include <sys/signalfd.h>
|
||||
#endif /* signalfd API */
|
||||
#include <event2/event.h>
|
||||
#include <csignal>
|
||||
#include <cstdlib> /* abort(), daemon(), exit() */
|
||||
#include <fcntl.h> /* open() */
|
||||
#include <unistd.h> /* fork(), setsid(), chdir(), dup2(), close(), pipe() */
|
||||
|
||||
#include <string_view>
|
||||
#include <event2/event.h>
|
||||
|
||||
#include <fmt/core.h>
|
||||
|
||||
#include <libtransmission/error.h>
|
||||
#include <libtransmission/utils.h>
|
||||
|
||||
#include "daemon.h"
|
||||
|
||||
static void set_system_error(tr_error** error, int code, std::string_view message)
|
||||
|
||||
Reference in New Issue
Block a user