diff options
-rw-r--r-- | udp514-journal.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/udp514-journal.h b/udp514-journal.h index d8b68ba..05f7012 100644 --- a/udp514-journal.h +++ b/udp514-journal.h @@ -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> |