commit: 8a0d2dd13a634806dbb2d062164c9104c32d3c1d
parent 3807c8aa53785838bdb4d4d81c4eeaa993702b65
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sun, 27 Jul 2025 18:01:08 +0200
configure.d/sendfile_linux.c: include <stddef.h> for NULL definition
Surprisingly, musl <sys/sendfile.h> includes <unistd.h> while glibc doesn't
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/configure.d/sendfile_linux.c b/configure.d/sendfile_linux.c
@@ -5,6 +5,7 @@
// Because that's what our utilities will use :)
#define _POSIX_C_SOURCE 200809L
+#include <stddef.h> // NULL
#include <sys/sendfile.h>
int