aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rw-r--r--config.def.h2
-rw-r--r--netlink-notify.c2
-rw-r--r--netlink-notify.h14
-rw-r--r--systemd/netlink-notify.service2
5 files changed, 12 insertions, 11 deletions
diff --git a/README.md b/README.md
index 30875f5..e93fea8 100644
--- a/README.md
+++ b/README.md
@@ -84,3 +84,6 @@ URL:
Mirror:
[eworm.de](https://git.eworm.de/cgit.cgi/netlink-notify/)
[GitLab.com](https://gitlab.com/eworm-de/netlink-notify#netlink-notify)
+
+---
+[⬆️ Go back to top](#top)
diff --git a/config.def.h b/config.def.h
index 0905e33..08c9078 100644
--- a/config.def.h
+++ b/config.def.h
@@ -1,5 +1,5 @@
/*
- * (C) 2011-2024 by Christian Hesse <mail@eworm.de>
+ * (C) 2011-2025 by Christian Hesse <mail@eworm.de>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/netlink-notify.c b/netlink-notify.c
index 29fc2fe..e921f0c 100644
--- a/netlink-notify.c
+++ b/netlink-notify.c
@@ -1,5 +1,5 @@
/*
- * (C) 2011-2024 by Christian Hesse <mail@eworm.de>
+ * (C) 2011-2025 by Christian Hesse <mail@eworm.de>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/netlink-notify.h b/netlink-notify.h
index a58f2f7..e4822e6 100644
--- a/netlink-notify.h
+++ b/netlink-notify.h
@@ -1,5 +1,5 @@
/*
- * (C) 2011-2024 by Christian Hesse <mail@eworm.de>
+ * (C) 2011-2025 by Christian Hesse <mail@eworm.de>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -31,18 +31,16 @@
#include <arpa/inet.h>
#include <ifaddrs.h>
-#include <linux/if.h>
-#include <linux/netlink.h>
-#include <linux/rtnetlink.h>
-#include <linux/wireless.h>
-/* we have to undefine this before including net/if.h to
- * notget redefined structs, etc. */
-#undef __USE_MISC
#include <net/if.h>
#include <netinet/in.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
+#include <linux/if.h>
+#include <linux/netlink.h>
+#include <linux/rtnetlink.h>
+#include <linux/wireless.h>
+
/* systemd headers */
#ifdef HAVE_SYSTEMD
#include <systemd/sd-daemon.h>
diff --git a/systemd/netlink-notify.service b/systemd/netlink-notify.service
index 4678ff1..a6d4290 100644
--- a/systemd/netlink-notify.service
+++ b/systemd/netlink-notify.service
@@ -1,4 +1,4 @@
-# (C) 2011-2024 by Christian Hesse <mail@eworm.de>
+# (C) 2011-2025 by Christian Hesse <mail@eworm.de>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by