From: Guillem Jover Date: Thu, 27 Jul 2023 11:39:00 +0000 (+0200) Subject: fgetln: Include after X-Git-Tag: 0.11.8~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d4e0cdc916476fb774b02a7da606e30e367f3f42;p=thirdparty%2Flibbsd.git fgetln: Include after The headers tend to define things that might be used by other headers, so while they should be self-contained, it is better to simply include them first. --- diff --git a/src/fgetln.c b/src/fgetln.c index b3b0a4b..3b62666 100644 --- a/src/fgetln.c +++ b/src/fgetln.c @@ -25,10 +25,11 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include #include #include + #include +#include #include "local-link.h"