From 56ba3e1cbdc971acd5d96b1dccbe22287e4e83a6 Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Wed, 21 Apr 2021 01:57:44 -0700 Subject: [PATCH] LibC: Add LOG_NOWAIT stub to syslog.h Needed for porting https://fio.readthedocs.io --- Userland/Libraries/LibC/syslog.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Userland/Libraries/LibC/syslog.h b/Userland/Libraries/LibC/syslog.h index c23597a7d94..c0d386e53a2 100644 --- a/Userland/Libraries/LibC/syslog.h +++ b/Userland/Libraries/LibC/syslog.h @@ -101,6 +101,8 @@ struct syslog_data { #define LOG_NDELAY (1 << 3) /* Log to stderr as well. */ #define LOG_PERROR (1 << 4) +/* Don't wait for child processes created while logging the message. */ +#define LOG_NOWAIT (1 << 5) /* This is useful to have, but has to be stored weirdly for compatibility. */ #ifdef SYSLOG_NAMES