summaryrefslogtreecommitdiffstats
path: root/libopkg
diff options
context:
space:
mode:
authorgoogle@wwsnet.net <google@wwsnet.net@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2010-09-12 20:47:26 (EDT)
committer google@wwsnet.net <google@wwsnet.net@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2010-09-12 20:47:26 (EDT)
commitd6ea4230ca70c3c7875a61e1c7c1dedb6d1b6fc5 (patch)
tree3480d2076365a156910282e8ea95e03ff35f66b6 /libopkg
parent6dc8a5d00f1f5244d7c3732dbc21b3763e9066b6 (diff)
fix compile issues on OS X and FreeBSD
git-svn-id: http://opkg.googlecode.com/svn/trunk@560 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
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"