summaryrefslogtreecommitdiff
path: root/lib/xstrndup.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xstrndup.h')
-rw-r--r--lib/xstrndup.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/xstrndup.h b/lib/xstrndup.h
new file mode 100644
index 000000000..27afc401d
--- /dev/null
+++ b/lib/xstrndup.h
@@ -0,0 +1,2 @@
+#include <stddef.h>
+char *xstrndup (char const *s, size_t n);