aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-06-22 02:58:45 +0000
committerEric Andersen <andersen@codepoet.org>2001-06-22 02:58:45 +0000
commit6b03504441079ba23318316f6147cc55fc0d0dd9 (patch)
tree6879e1a896cc1a99300366ff9fcac6ed8a3ce7e1
parent76ce7549cec009ac1f4706f9c20da27d8c6b4239 (diff)
downloadbusybox-6b03504441079ba23318316f6147cc55fc0d0dd9.tar.gz
Add in a missing header file
-rw-r--r--libbb/strdup_substr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/strdup_substr.c b/libbb/strdup_substr.c
index 4542d5fbe..85030b11a 100644
--- a/libbb/strdup_substr.c
+++ b/libbb/strdup_substr.c
@@ -22,6 +22,8 @@
/* Return a substring of STR, starting at index START and ending at END,
* allocated on the heap. */
+#include "libbb.h"
+
char *strdup_substr(const char *str, int start, int end)
{
int size = end - start + 1;