diff options
Diffstat (limited to 'udp514-journal.h')
-rw-r--r-- | udp514-journal.h | 8 |
1 files changed, 5 insertions, 3 deletions
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> |