ubase

suckless linux base utils
git clone git://git.suckless.org/ubase
Log | Files | Refs | README | LICENSE

commit 7e2fe55d680b963c8133ad504f61e7c127cb1dff
parent 09bfb1d0656ef25f5b514d280c1bb73b284d6463
Author: sin <sin@2f30.org>
Date:   Fri, 17 Oct 2014 16:07:49 +0100

Remember to include libgen.h for basename(3)

Diffstat:
Mlast.c | 1+
Mps.c | 1+
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/last.c b/last.c @@ -1,5 +1,6 @@ /* See LICENSE file for copyright and license details. */ #include <errno.h> +#include <libgen.h> #include <paths.h> #include <pwd.h> #include <stdio.h> diff --git a/ps.c b/ps.c @@ -3,6 +3,7 @@ #include <sys/sysinfo.h> #include <errno.h> +#include <libgen.h> #include <limits.h> #include <pwd.h> #include <stdio.h>