mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
refactor: include cleanups (#2392)
* refactor: include <memory> when using shared_ptr or unique_ptr * refactor: include <cstdio> iff we use it * refactor: include <cstring> iff we use it * refactor: include <cstdlib> iff we use it * refactor: include <string_view> or <string> iff we use it * refactor: include <array> iff we use it * refactor: include <ctime> iff we use it * refactor: include <cctype> iff we use it * refactor: misc #include cleanups in libtransmission
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <ctype.h> /* isspace */
|
||||
#include <limits.h> /* USHRT_MAX, INT_MAX */
|
||||
#include <climits> /* USHRT_MAX, INT_MAX */
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <glibmm.h>
|
||||
|
||||
Reference in New Issue
Block a user