about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/syslog.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/syslog.c')
-rw-r--r--sysdeps/unix/sysv/linux/syslog.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/syslog.c b/sysdeps/unix/sysv/linux/syslog.c
new file mode 100644
index 0000000000..145e22b520
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/syslog.c
@@ -0,0 +1,10 @@
+#include <kernel-features.h>
+
+#if __ASSUME_MSG_NOSIGNAL
+# define NO_SIGPIPE
+# define send_flags MSG_NOSIGNAL
+#else
+# define send_flags 0
+#endif
+
+#include <misc/syslog.c>