summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-07-09 15:07:38 +0300
committerPanu Matilainen <pmatilai@redhat.com>2009-07-21 09:51:44 +0300
commit7564a36f74dca4931cbf5793edf0398f7da0050d (patch)
tree66488579bce3a7cfcd213ee5bddb523079c78adb
parent895cd79a1589d8517cc2cd145af3c9ff6a5414b0 (diff)
downloadrpm-7564a36f74dca4931cbf5793edf0398f7da0050d.tar.gz
Oops, missing include for dirname()
(cherry picked from commit 666e26bd7a229063e6cab068c94b56e1b35e7ddb)
-rw-r--r--lib/rpmlock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rpmlock.c b/lib/rpmlock.c
index d5504075e..1bac3a5fd 100644
--- a/lib/rpmlock.c
+++ b/lib/rpmlock.c
@@ -1,6 +1,8 @@
#include "system.h"
+#include <libgen.h>
+
#include <rpm/rpmlog.h>
#include <rpm/rpmmacro.h>
#include <rpm/rpmfileutil.h>