From: Christophe CURIS <[email protected]>
Signed-off-by: Christophe CURIS <[email protected]> --- src/appicon.c | 2 +- src/dock.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/appicon.c b/src/appicon.c index 8c17f87..e7ccb34 100644 --- a/src/appicon.c +++ b/src/appicon.c @@ -25,6 +25,7 @@ #include <X11/Xlib.h> #include <X11/Xutil.h> #include <stdlib.h> +#include <libgen.h> #include <string.h> #include <unistd.h> #include <sys/stat.h> @@ -555,7 +556,6 @@ static void killCallback(WMenu * menu, WMenuEntry * entry) WFakeGroupLeader *fPtr; char *buffer; char *shortname; - char *basename(const char *shortname); if (!WCHECK_STATE(WSTATE_NORMAL)) return; diff --git a/src/dock.c b/src/dock.c index 4cc539b..69bebde 100644 --- a/src/dock.c +++ b/src/dock.c @@ -26,6 +26,7 @@ #include <X11/Xutil.h> #include <stdio.h> #include <stdlib.h> +#include <libgen.h> #include <string.h> #include <strings.h> #include <unistd.h> @@ -207,7 +208,6 @@ static void killCallback(WMenu *menu, WMenuEntry *entry) WAppIcon *icon; WFakeGroupLeader *fPtr; char *buffer, *shortname, **argv; - char *basename(const char *shortname); int argc; if (!WCHECK_STATE(WSTATE_NORMAL)) -- 1.7.10.4 -- To unsubscribe, send mail to [email protected].
