summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/string.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/string.h b/src/include/string.h
index 44f244c733..77985e1325 100644
--- a/src/include/string.h
+++ b/src/include/string.h
@@ -4,6 +4,12 @@
#include <stddef.h>
#include <stdlib.h>
+/* Stringify a token */
+#ifndef STRINGIFY
+#define _STRINGIFY(x) #x
+#define STRINGIFY(x) _STRINGIFY(x)
+#endif
+
void *memcpy(void *dest, const void *src, size_t n);
void *memmove(void *dest, const void *src, size_t n);
void *memset(void *s, int c, size_t n);