mcst-linux-kernel/patches-2024.06.26/sg3_utils-1.42/0001-glibc-2.29-compat.patch

13 lines
319 B
Diff

diff -Naur orig/src/sg_map26.c new/src/sg_map26.c
--- orig/src/sg_map26.c 2019-08-30 10:46:43.052976936 +0000
+++ new/src/sg_map26.c 2019-08-30 10:49:51.012971872 +0000
@@ -35,6 +35,8 @@
#include <sys/stat.h>
#include <linux/major.h>
+#include <sys/sysmacros.h>
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif