File tree Expand file tree Collapse file tree 2 files changed +7
-12
lines changed
Expand file tree Collapse file tree 2 files changed +7
-12
lines changed Original file line number Diff line number Diff line change 33 * @author Martin Pulec <pulec@cesnet.cz>
44 */
55/*
6- * Copyright (c) 2018-2023 CESNET, z. s. p. o.
6+ * Copyright (c) 2018-2024 CESNET
77 * All rights reserved.
88 *
99 * Redistribution and use in source and binary forms, with or without
3535 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3636 */
3737
38- #ifdef HAVE_CONFIG_H
39- #include " config.h"
40- #include " config_unix.h"
41- #include " config_win32.h"
38+ #ifdef _WIN32
39+ #include < windows.h>
4240#endif
4341
44- #include < unistd.h>
45-
4642#include < cstdarg>
43+ #include < cstdio> // for vsnprintf, fileno, stdout
4744#include < cstdlib> // for getenv
4845#include < cstring> // for strcmp, strlen
49- #include < iostream >
50- #include < memory >
46+ #include < iterator > // for back_insert_iterator, back_inserter
47+ #include < unistd.h > // for isatty
5148
5249#include " debug.h"
5350#include " host.h"
5451#include " utils/color_out.h"
5552
56- using std::cout;
5753using std::string;
5854
5955static bool color_stdout;
Original file line number Diff line number Diff line change 33 * @author Martin Pulec <pulec@cesnet.cz>
44 */
55/*
6- * Copyright (c) 2018-2022 CESNET, z. s. p. o.
6+ * Copyright (c) 2018-2024 CESNET
77 * All rights reserved.
88 *
99 * Redistribution and use in source and binary forms, with or without
@@ -100,7 +100,6 @@ char *prune_ansi_sequences_inplace_cstr(char *cstr);
100100#endif
101101
102102#ifdef __cplusplus
103- #include < iostream>
104103#include < sstream>
105104#include < string>
106105
You can’t perform that action at this time.
0 commit comments