Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix compilation.
jlaffaye committed 14 years ago
commit e6900329a001b9faf34ab65e5f94cecf4ee4b9a6
parent 102c0c0
2 files changed +2 -2
modified libpkg/pkg.h
@@ -1,10 +1,10 @@
#ifndef _PKG_H
#define _PKG_H

+
#include <sys/types.h>
#include <stdarg.h>
#include <stdbool.h>
#include <sys/sbuf.h>
-
#include <sys/types.h>
#include <openssl/pem.h>

struct pkg;
modified libpkg/pkg_add.c
@@ -107,7 +107,7 @@ pkg_add2(struct pkgdb *db, const char *path, int upgrade, int automatic)
	 * current archive_entry to the first non-meta file.
	 * If there is no non-meta files, EPKG_END is returned.
	 */
-
	ret = pkg_open2(&pkg, &a, &ae, path);
+
	ret = pkg_open2(&pkg, &a, &ae, path, NULL);
	if (ret == EPKG_END)
		extract = false;
	else if (ret != EPKG_OK) {