summaryrefslogtreecommitdiff
path: root/src/misc.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/misc.cpp
parent106750db77be01c7b2d277a12d9b80de15cb8fbb (diff)
Use C++11 header names instead of their deprecated equivalents.
Diffstat (limited to 'src/misc.cpp')
-rw-r--r--src/misc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc.cpp b/src/misc.cpp
index 11f038710..a94ea21db 100644
--- a/src/misc.cpp
+++ b/src/misc.cpp
@@ -19,9 +19,9 @@
#include "regexpr.h"
#include "sockets.h"
-#include <errno.h>
-#include <sys/types.h>
+#include <cerrno>
#include <sys/stat.h>
+#include <sys/types.h>
#ifndef _WIN32
#include <sys/socket.h>
#include <netdb.h>