summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/kmod-setup.c1
-rw-r--r--src/modules-load/modules-load.c1
-rw-r--r--src/test/test-netlink-manual.c1
-rw-r--r--src/udev/udev-builtin-kmod.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/src/core/kmod-setup.c b/src/core/kmod-setup.c
index fd42684034..1286743273 100644
--- a/src/core/kmod-setup.c
+++ b/src/core/kmod-setup.c
@@ -12,7 +12,6 @@
#include "string-util.h"
#if HAVE_KMOD
-#include <libkmod.h>
#include "module-util.h"
static void systemd_kmod_log(
diff --git a/src/modules-load/modules-load.c b/src/modules-load/modules-load.c
index aaeb2c0d2f..337a460318 100644
--- a/src/modules-load/modules-load.c
+++ b/src/modules-load/modules-load.c
@@ -2,7 +2,6 @@
#include <errno.h>
#include <getopt.h>
-#include <libkmod.h>
#include <limits.h>
#include <sys/stat.h>
diff --git a/src/test/test-netlink-manual.c b/src/test/test-netlink-manual.c
index 031a47605e..a734524eeb 100644
--- a/src/test/test-netlink-manual.c
+++ b/src/test/test-netlink-manual.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <arpa/inet.h>
-#include <libkmod.h>
#include <linux/if_tunnel.h>
#include <linux/ip.h>
#include <sys/types.h>
diff --git a/src/udev/udev-builtin-kmod.c b/src/udev/udev-builtin-kmod.c
index 86612fc975..b3daddcdd5 100644
--- a/src/udev/udev-builtin-kmod.c
+++ b/src/udev/udev-builtin-kmod.c
@@ -6,7 +6,6 @@
*/
#include <errno.h>
-#include <libkmod.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>