ubase

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

commit c4062b7883e980f32e8d754974a5705c42b91d62
parent 56e541293efb9c5370bfc22dfa4caf46a4bd7249
Author: sin <sin@2f30.org>
Date:   Fri Oct 17 16:07:49 +0100

Remember to include libgen.h for basename(3)

Diffstat:
last.c | 1+
ps.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>