summaryrefslogtreecommitdiff
path: root/src/common/strlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/strlib.h')
-rw-r--r--src/common/strlib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/strlib.h b/src/common/strlib.h
index 5abd07e90..a3753b918 100644
--- a/src/common/strlib.h
+++ b/src/common/strlib.h
@@ -4,6 +4,8 @@
#ifndef _STRLIB_H_
#define _STRLIB_H_
+#include <stddef.h> // size_t
+
char* jstrescape (char* pt);
char* jstrescapecpy (char* pt, const char* spt);
int jmemescapecpy (char* pt, const char* spt, int size);
@@ -26,5 +28,4 @@ size_t strnlen (const char* string, size_t maxlen);
int e_mail_check(char* email);
int config_switch(const char* str);
-
#endif /* _STRLIB_H_ */