Add missing libgen.h includes

This is needed for basname(). Without the include the compiler
may assume that basename() returns int, which leads to a segfault
in some cases.

Link: http://lkml.kernel.org/r/1382642074-15567-4-git-send-email-seth.forshee@canonical.com

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
3 files changed