about summary refs log tree commit diff
path: root/sysdeps/generic/syslog.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/syslog.c')
-rw-r--r--sysdeps/generic/syslog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/generic/syslog.c b/sysdeps/generic/syslog.c
index 2a1e4c4a5b..176265c29d 100644
--- a/sysdeps/generic/syslog.c
+++ b/sysdeps/generic/syslog.c
@@ -73,7 +73,9 @@ __libc_lock_define_initialized (static, syslog_lock)
 
 static void openlog_internal(const char *, int, int) internal_function;
 static void closelog_internal(void);
+#ifndef NO_SIGPIPE
 static void sigpipe_handler (int);
+#endif
 
 
 struct cleanup_arg