summaryrefslogtreecommitdiffstats
path: root/libopkg
diff options
context:
space:
mode:
Diffstat (limited to 'libopkg')
-rw-r--r--libopkg/opkg_download.c1
-rw-r--r--libopkg/pkg.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libopkg/opkg_download.c b/libopkg/opkg_download.c
index 4969dd7..e84340a 100644
--- a/libopkg/opkg_download.c
+++ b/libopkg/opkg_download.c
@@ -21,6 +21,7 @@
#include <stdio.h>
#include <unistd.h>
+#include <libgen.h>
#include "opkg_download.h"
#include "opkg_message.h"
diff --git a/libopkg/pkg.c b/libopkg/pkg.c
index 5b1321e..2e854a9 100644
--- a/libopkg/pkg.c
+++ b/libopkg/pkg.c
@@ -21,6 +21,7 @@
#include <string.h>
#include <ctype.h>
#include <unistd.h>
+#include <libgen.h>
#include "pkg.h"