lib: only include fetch.h where required

This results in a lot of places where limits.h was missing, so
this diff is larger than necessary.
This commit is contained in:
Duncan Overbruck
2022-12-22 16:46:55 +01:00
parent be7e532c3c
commit 2deb156beb
11 changed files with 40 additions and 28 deletions

View File

@ -24,12 +24,14 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <errno.h>
#include <limits.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include "xbps_api_impl.h"
#include "fetch.h"
static int
verify_binpkg(struct xbps_handle *xhp, xbps_dictionary_t pkgd)