aboutsummaryrefslogtreecommitdiffstats
path: root/src/socket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket.cpp')
-rw-r--r--src/socket.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/socket.cpp b/src/socket.cpp
index ae2ac0d79..436557a81 100644
--- a/src/socket.cpp
+++ b/src/socket.cpp
@@ -26,6 +26,7 @@
#ifndef _WIN32
# include <arpa/inet.h>
# include <netinet/in.h>
+# include <sys/stat.h>
#endif
#include "inspircd.h"