summaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2022-01-04 12:36:35 +0000
committerSadie Powell <sadie@witchery.services>2022-01-04 12:36:35 +0000
commitec7dfb3675973e0e0ec6df69c871797bc94e8413 (patch)
treeddecd3f49a62c064bdcecc6fe7d4f95996b5dfb0 /src/init.cpp
parent106750db77be01c7b2d277a12d9b80de15cb8fbb (diff)
Use C++11 header names instead of their deprecated equivalents.
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 48e3ebbfc..0620ca253 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -23,10 +23,10 @@
#include <sys/wait.h>
#include <sys/stat.h>
-#include <errno.h>
-#include <sys/types.h>
-#include <pwd.h>
+#include <cerrno>
#include <grp.h>
+#include <pwd.h>
+#include <sys/types.h>
#endif
Anope::string Anope::ConfigDir = "conf", Anope::DataDir = "data", Anope::ModuleDir = "lib", Anope::LocaleDir = "locale", Anope::LogDir = "logs";