mcst-linux-kernel/patches-2024.06.26/numactl-2.0.13/0004-lcc-1.24-compat.patch

13 lines
332 B
Diff

--- a/affinity.c 2019-08-30 02:27:06.000000000 +0300
+++ b/affinity.c 2019-12-25 18:49:07.770284021 +0300
@@ -26,6 +26,9 @@
- Better support for multi-path IO?
*/
#define _GNU_SOURCE 1
+#if defined(__LCC__) && __LCC__ >= 124
+#include <sys/sysmacros.h>
+#endif
#include <string.h>
#include <errno.h>
#include <sys/stat.h>