summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-02-12 18:37:01 +0400
committerIgor Pashev <pashev.igor@gmail.com>2014-02-12 18:37:05 +0400
commit17083f3b371148560483899cf125c45f320dbc01 (patch)
treed6539be838adb4798300647669d4cde74f6a9984 /lib
parent9119f4fb6dd0c510eca277101b6a193854e84cfd (diff)
downloadutil-linux-17083f3b371148560483899cf125c45f320dbc01.tar.gz
include <libgen.h> for basename()
Diffstat (limited to 'lib')
-rw-r--r--lib/exec_shell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/exec_shell.c b/lib/exec_shell.c
index 2b263644..872657ec 100644
--- a/lib/exec_shell.c
+++ b/lib/exec_shell.c
@@ -19,6 +19,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <libgen.h>
#include <sys/types.h>
#include "nls.h"