mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-02-05 19:39:50 +08:00
Fix very old kernels with CONFIG_SUSE_KERNEL
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
#include "mailbox.h"
|
||||
#include "ethernet.h"
|
||||
|
||||
#ifdef CONFIG_SUSE_KERNEL
|
||||
#if defined(CONFIG_SUSE_KERNEL) && LINUX_VERSION_CODE >= KERNEL_VERSION(5, 14, 0)
|
||||
#include <linux/suse_version.h>
|
||||
#else
|
||||
# ifndef SUSE_VERSION
|
||||
|
||||
Reference in New Issue
Block a user