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

@ -32,6 +32,7 @@
#include <errno.h>
#include "xbps_api_impl.h"
#include "fetch.h"
/**
* @file lib/plist_fetch.c