Remember to include libgen.h for basename(3)

This commit is contained in:
sin 2014-10-17 16:07:49 +01:00
parent 09bfb1d065
commit 7e2fe55d68
2 changed files with 2 additions and 0 deletions

1
last.c
View File

@ -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>

1
ps.c
View File

@ -3,6 +3,7 @@
#include <sys/sysinfo.h>
#include <errno.h>
#include <libgen.h>
#include <limits.h>
#include <pwd.h>
#include <stdio.h>