Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Initial adoption of OS X compatibility shims.
Landon Fuller committed 11 years ago
commit 86cf88bb2dc7d6684c19a675192c66f84e7cd692
parent 753c3af
3 files changed +11 -0
modified src/Makefile.am
@@ -43,6 +43,8 @@ pkg_LDADD= $(top_builddir)/libpkg/libpkg.la \
			-lcrypto
pkg_CFLAGS=		-I$(top_srcdir)/libpkg \
			-I$(top_builddir)/libpkg \
+
			-I$(top_builddir)/compat \
+
			-I$(top_srcdir)/external/libsbuf \
			-I$(top_srcdir)/external/uthash \
			-I$(top_srcdir)/external/expat/lib \
			-DGITHASH=\"$(GIT_HEAD)\" \
modified src/add.c
@@ -26,6 +26,7 @@
 */

#include <sys/param.h>
+
#include <sys/sbuf.h>

#include <err.h>
#include <errno.h>
modified src/clean.c
@@ -26,6 +26,10 @@
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

+
#ifdef HAVE_CONFIG_H
+
#include "pkg_config.h"
+
#endif
+

#include <sys/stat.h>
#include <sys/queue.h>
/* For MIN */
@@ -35,7 +39,9 @@
#include <err.h>
#include <fts.h>
#include <getopt.h>
+
#ifdef HAVE_LIBUTIL_H
#include <libutil.h>
+
#endif
#include <pkg.h>
#include <stdbool.h>
#include <string.h>
@@ -43,6 +49,8 @@
#include <unistd.h>
#include <uthash.h>

+
#include <bsd_compat.h>
+

#include "pkgcli.h"

struct deletion_list {