fix compile issues on OS X and FreeBSD
[project/opkg-lede.git] / libopkg / opkg_download.c
index 4969dd73692fd7da169da1db2284fcc7660d05c0..e84340aca5284fc4529f30f4a1c28f89aa3ac352 100644 (file)
@@ -21,6 +21,7 @@
 
 #include <stdio.h>
 #include <unistd.h>
+#include <libgen.h>
 
 #include "opkg_download.h"
 #include "opkg_message.h"