diff options
-rw-r--r-- | libbb/strdup_substr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/strdup_substr.c b/libbb/strdup_substr.c index 4542d5f..85030b1 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; |