Remove the config.h kludge and override vasprintf detection via HAVE_VASPRINTF.

This commit is contained in:
Juan RP
2014-01-20 18:50:33 +01:00
parent 16fc064aef
commit 5eea259c13
18 changed files with 36 additions and 58 deletions

View File

@@ -37,9 +37,6 @@
#include <ctype.h>
#include "xbps_api_impl.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#define PKG_PATTERN_MAX 1024

View File

@@ -29,13 +29,15 @@
#define _BSD_SOURCE /* for vfork and chroot */
#include <sys/types.h>
#include <unistd.h>
#include <sys/wait.h>
#include <errno.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#undef _BSD_SOURCE
#include "xbps_api_impl.h"
static int