From 421d9e59416850968707dfec7a665cb0211b8d1c Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Mon, 3 Apr 2006 16:39:31 +0000 Subject: - move buffer allocation schemes to libbb.h - include the correct headers: applets need busybox.h while lib* need libbb.h --- libbb/get_last_path_component.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libbb/get_last_path_component.c') diff --git a/libbb/get_last_path_component.c b/libbb/get_last_path_component.c index c950faeb3..311909726 100644 --- a/libbb/get_last_path_component.c +++ b/libbb/get_last_path_component.c @@ -7,6 +7,8 @@ * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ +#include "libbb.h" + char *bb_get_last_path_component(char *path) { char *first = path; -- cgit v1.2.3