From 91529ff1a7f979a8d80a39936a2b35498e6cfe9c Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Sun, 30 Jun 2013 16:02:38 +0200 Subject: [PATCH] wmaker: Replaced local declaration of system function by proper header call Signed-off-by: Christophe CURIS --- 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 41e52e73..dbe7ae58 100644 --- a/src/appicon.c +++ b/src/appicon.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include @@ -556,7 +557,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 3c3c150c..8bd72c29 100644 --- a/src/dock.c +++ b/src/dock.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include @@ -208,7 +209,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)) -- 2.11.4.GIT