summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCristian Rodríguez <crrodriguez@opensuse.org>2015-02-09 21:41:09 -0300
committerLennart Poettering <lennart@poettering.net>2015-02-11 18:31:29 +0100
commite89fe484df6b94fcd775b923327b54eaf0a116e2 (patch)
tree49f65094add9c93fad701784765fa92fd0bc5f0e
parenta24111cea64e042b49d8b4bca85ce6092845bbec (diff)
core: remove unneeded <libgen.h> include
execute.c only uses basename (the GNU version in <string.h>)
-rw-r--r--src/core/execute.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/execute.c b/src/core/execute.c
index 874cdc7efe..7b071e8c9e 100644
--- a/src/core/execute.c
+++ b/src/core/execute.c
@@ -40,8 +40,6 @@
#include <sys/poll.h>
#include <glob.h>
#include <sys/personality.h>
-#include <libgen.h>
-#undef basename
#ifdef HAVE_PAM
#include <security/pam_appl.h>