Skip to content

Commit

Permalink
utils/misc: improved including
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinPulec committed Sep 18, 2024
1 parent 3c9e260 commit 70e169d
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions src/utils/misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @author Martin Piatka <[email protected]>
*/
/*
* Copyright (c) 2014-2023 CESNET, z. s. p. o.
* Copyright (c) 2014-2024 CESNET
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -36,27 +36,28 @@
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "config_unix.h"
#include "config_win32.h"

#include <unistd.h>
#include "utils/misc.h"

#ifdef _WIN32
#include <windows.h> // for GetModuleHandle, GetProcAddress
#else
#include <unistd.h> // for sysconf, _SC_NPROCESSORS_ONLN
#endif
#include <cassert>
#include <cctype> // for toupper
#include <cerrno>
#include <climits>
#include <cmath>
#include <cstdio> // for perror, snprintf
#include <cstdlib> // for strtod
#include <cstring>
#include <stdexcept>
#include <sstream>
#include <stdexcept>
#include <string>

#include "compat/strings.h" // sterror_s
#include "debug.h"
#include "utils/macros.h"
#include "utils/misc.h"
#include "utils/color_out.h"

#ifdef __APPLE__
Expand Down

0 comments on commit 70e169d

Please sign in to comment.