mirror of
https://github.com/transmission/transmission.git
synced 2025-12-26 13:21:44 +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,11 +6,10 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <climits> /* INT_MAX */
|
||||
#include <cstddef>
|
||||
#include <cstring> // strchr
|
||||
#include <limits.h> /* INT_MAX */
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <string>
|
||||
|
||||
#include <glibmm.h>
|
||||
#include <glibmm/i18n.h>
|
||||
|
||||
Reference in New Issue
Block a user