]> git.ipfire.org Git - pakfire.git/commitdiff
xfopen: Include limits.h
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 22 Feb 2025 17:27:45 +0000 (17:27 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 22 Feb 2025 17:27:45 +0000 (17:27 +0000)
We need this for ULONG_MAX.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/xfopen.c

index f1b1e54272790b9033c7ff9fa107df2463e401b2..af7d6a4343a70e78b21d294aedb9ec78bcc614ea 100644 (file)
@@ -19,6 +19,7 @@
 #############################################################################*/
 
 #include <errno.h>
+#include <limits.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>