diff options
| author | 2022-01-26 08:50:29 +0000 | |
|---|---|---|
| committer | 2022-01-26 14:00:58 +0000 | |
| commit | 4fd71323d32500669b3bae395fa91df0e20fe090 (patch) | |
| tree | 3d17fec736d1a9946d2546ee8380df6ef44dd445 /src/inspircd.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
| download | inspircd++-4fd71323d32500669b3bae395fa91df0e20fe090.tar.gz inspircd++-4fd71323d32500669b3bae395fa91df0e20fe090.tar.bz2 inspircd++-4fd71323d32500669b3bae395fa91df0e20fe090.zip | |
Slim the included headers down more.
Diffstat (limited to 'src/inspircd.cpp')
| -rw-r--r-- | src/inspircd.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 4b799a62b..d7faaf7c1 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -37,23 +37,23 @@ #include <iostream> #include "inspircd.h" +#include "consolecolors.h" #include "exitcodes.h" #include "xline.h" -#include <signal.h> +#ifdef _WIN32 +# include <ya_getopt.h> -#ifndef _WIN32 - #include <unistd.h> - #include <sys/resource.h> - #include <getopt.h> - #include <pwd.h> // setuid - #include <grp.h> // setgid -#else - /** Manages formatting lines written to stderr on Windows. */ - WindowsStream StandardError(STD_ERROR_HANDLE); +// Manages formatting lines written to stderr on Windows. +WindowsStream StandardError(STD_ERROR_HANDLE); - /** Manages formatting lines written to stdout on Windows. */ - WindowsStream StandardOutput(STD_OUTPUT_HANDLE); +// Manages formatting lines written to stdout on Windows. +WindowsStream StandardOutput(STD_OUTPUT_HANDLE); +#else +# include <getopt.h> +# include <grp.h> +# include <pwd.h> +# include <sys/resource.h> #endif InspIRCd* ServerInstance = NULL; |
