summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/inspstring.h1
-rw-r--r--include/users.h2
-rw-r--r--src/inspstring.cpp3
3 files changed, 5 insertions, 1 deletions
diff --git a/include/inspstring.h b/include/inspstring.h
index 54264a3eb..c5a20e9e4 100644
--- a/include/inspstring.h
+++ b/include/inspstring.h
@@ -2,6 +2,7 @@
#define __IN_INSPSTRING_H
#include "inspircd_config.h"
+#include <cstddef>
#ifndef HAS_STRLCPY
size_t strlcpy(char *dst, const char *src, size_t siz);
diff --git a/include/users.h b/include/users.h
index e14637d06..fbe71d00a 100644
--- a/include/users.h
+++ b/include/users.h
@@ -17,7 +17,7 @@
#include "inspircd_config.h"
#include "channels.h"
#include "connection.h"
-
+#include "inspstring.h"
#include <string>
#ifndef __USERS_H__
diff --git a/src/inspstring.cpp b/src/inspstring.cpp
index c4829ffbb..4f1875b8c 100644
--- a/src/inspstring.cpp
+++ b/src/inspstring.cpp
@@ -1,5 +1,8 @@
#include "inspircd_config.h"
#include "inspstring.h"
+#include <cstddef>
+#include <string.h>
+#include <stdio.h>
/*
* Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>