summaryrefslogtreecommitdiff
path: root/src/string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/string.cpp')
-rw-r--r--src/string.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/string.cpp b/src/string.cpp
index 983f79edf..5b60979db 100644
--- a/src/string.cpp
+++ b/src/string.cpp
@@ -32,6 +32,8 @@
#include "gfx_func.h"
#endif /* WITH_ICU */
+#include "safeguards.h"
+
/**
* Safer implementation of vsnprintf; same as vsnprintf except:
* - last instead of size, i.e. replace sizeof with lastof.