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 4542d5fbe..85030b11a 100644 --- a/libbb/strdup_substr.c +++ b/libbb/strdup_substr.c | |||
@@ -22,6 +22,8 @@ | |||
22 | /* Return a substring of STR, starting at index START and ending at END, | 22 | /* Return a substring of STR, starting at index START and ending at END, |
23 | * allocated on the heap. */ | 23 | * allocated on the heap. */ |
24 | 24 | ||
25 | #include "libbb.h" | ||
26 | |||
25 | char *strdup_substr(const char *str, int start, int end) | 27 | char *strdup_substr(const char *str, int start, int end) |
26 | { | 28 | { |
27 | int size = end - start + 1; | 29 | int size = end - start + 1; |