From 5b7d0541271f4829b505ec01810709e374b73746 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 11 Feb 2022 23:54:59 +0100 Subject: [KERNEL] Add missing include to fix compile on 4.14.x --- README.md | 3 ++- src/kernel/net.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7a5af91..a20f00f 100644 --- a/README.md +++ b/README.md @@ -7,10 +7,11 @@ This repository contains the source code for the following dnbd3 components: - **dnbd3**: Linux kernel module client for dnbd3 - **dnbd3-bench**: Benchmark utility to test dnbd3 - **dnbd3-fuse**: Fuse client for dnbd3 - - **dnbd3-server**: Server to serve virtual disk images for dnbd3 + - **dnbd3-server**: Server to serve virtual disk images for dnbd3 The dnbd3 components can be built for the following Linux kernel versions and Unix distributions: + - Generic/Vanilla Kernel **4.14** – **5.15** - Archlinux with **Linux kernel 5.15.x** or **5.10.x** - Raspberry Pi OS with **Linux kernel 5.4.x** - Ubuntu 20.04 with **Linux kernel 5.4.x** diff --git a/src/kernel/net.c b/src/kernel/net.c index c3ecc54..5919832 100644 --- a/src/kernel/net.c +++ b/src/kernel/net.c @@ -30,6 +30,7 @@ #include #include #include +#include #ifndef MIN #define MIN(a, b) ((a) < (b) ? (a) : (b)) -- cgit v1.2.3-55-g7522