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;