gentoo-ebuilds/sys-apps/systemd-readahead/files/systemd-readahead-216-socket-header.patch
Pacho Ramos 9e56f50c85
sys-apps/systemd-readahead: Fix compilation due to missing header
Thanks-to: Toralf Förster
Closes: https://bugs.gentoo.org/925595
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
2025-05-22 17:42:44 +02:00

10 lines
310 B
Diff

--- a/src/shared/missing.h~ 2025-05-22 17:34:02.000000000 +0200
+++ b/src/shared/missing.h 2025-05-22 17:34:18.732828172 +0200
@@ -23,6 +23,7 @@
/* Missing glibc definitions to access certain kernel APIs */
+#include <sys/socket.h>
#include <sys/resource.h>
#include <sys/syscall.h>
#include <fcntl.h>