From 622703467c192944f3a07604881e2c9a85361634 Mon Sep 17 00:00:00 2001 From: Milan Broz Date: Mon, 23 Jul 2007 10:41:19 +0000 Subject: [PATCH] Fix compilation warning in util.c. --- lib/misc/util.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/misc/util.c b/lib/misc/util.c index 724b65712..c0c07dadf 100644 --- a/lib/misc/util.c +++ b/lib/misc/util.c @@ -16,6 +16,9 @@ * Return the address of the last file name component of NAME. * If NAME ends in a slash, return the empty string. */ + +#include "lib.h" + char *last_path_component(char const *name) { char const *slash = strrchr (name, '/');