diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | udp514-journal.c | 2 | ||||
-rw-r--r-- | udp514-journal.h | 8 | ||||
-rw-r--r-- | udp514-journal.service | 2 |
4 files changed, 8 insertions, 6 deletions
@@ -14,7 +14,7 @@ LDFLAGS += -Wl,-z,now -Wl,-z,relro -pie # this is just a fallback in case you do not use git but downloaded # a release tarball... -VERSION := 0.1.0 +VERSION := 0.1.1 all: udp514-journal README.html diff --git a/udp514-journal.c b/udp514-journal.c index 2ab70e1..5db80f4 100644 --- a/udp514-journal.c +++ b/udp514-journal.c @@ -1,5 +1,5 @@ /* - * (C) 2018-2021 by Christian Hesse <mail@eworm.de> + * (C) 2018-2024 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/udp514-journal.h b/udp514-journal.h index 0054a8b..d47a99e 100644 --- a/udp514-journal.h +++ b/udp514-journal.h @@ -1,5 +1,5 @@ /* - * (C) 2018-2021 by Christian Hesse <mail@eworm.de> + * (C) 2018-2024 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 @@ -21,8 +21,6 @@ #define _POSIX_C_SOURCE 200809L -#define SYSLOG_NAMES - #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> @@ -35,6 +33,10 @@ #include <errno.h> #include <time.h> +#define SYSLOG_NAMES +#define __USE_MISC +#include <sys/syslog.h> + #include <systemd/sd-journal.h> #include <systemd/sd-daemon.h> diff --git a/udp514-journal.service b/udp514-journal.service index 4ae2ca0..68ebcbb 100644 --- a/udp514-journal.service +++ b/udp514-journal.service @@ -1,4 +1,4 @@ -# (C) 2018-2021 by Christian Hesse <mail@eworm.de> +# (C) 2018-2024 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 |