diff options
-rw-r--r-- | config.def.h | 2 | ||||
-rw-r--r-- | netlink-notify.c | 2 | ||||
-rw-r--r-- | netlink-notify.h | 14 | ||||
-rw-r--r-- | systemd/netlink-notify.service | 2 |
4 files changed, 9 insertions, 11 deletions
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 |