diff --git a/src/utils/color_out.cpp b/src/utils/color_out.cpp index 6cf960891..db29d8ee6 100644 --- a/src/utils/color_out.cpp +++ b/src/utils/color_out.cpp @@ -3,7 +3,7 @@ * @author Martin Pulec */ /* - * Copyright (c) 2018-2023 CESNET, z. s. p. o. + * Copyright (c) 2018-2024 CESNET * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -35,25 +35,21 @@ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#include "config_unix.h" -#include "config_win32.h" +#ifdef _WIN32 +#include #endif -#include - #include +#include // for vsnprintf, fileno, stdout #include // for getenv #include // for strcmp, strlen -#include -#include +#include // for back_insert_iterator, back_inserter +#include // for isatty #include "debug.h" #include "host.h" #include "utils/color_out.h" -using std::cout; using std::string; static bool color_stdout; diff --git a/src/utils/color_out.h b/src/utils/color_out.h index 1d53f4805..c0de168fe 100644 --- a/src/utils/color_out.h +++ b/src/utils/color_out.h @@ -3,7 +3,7 @@ * @author Martin Pulec */ /* - * Copyright (c) 2018-2022 CESNET, z. s. p. o. + * Copyright (c) 2018-2024 CESNET * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -100,7 +100,6 @@ char *prune_ansi_sequences_inplace_cstr(char *cstr); #endif #ifdef __cplusplus -#include #include #include