summary refs log tree commit diff
path: root/src/error.h
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2003-01-24 14:18:11 +0000
committerGerrit Pape <pape@smarden.org>2003-01-24 14:18:11 +0000
commit3bc722193d7b59c78dc15c723b747919b093828d (patch)
tree2220a941aca32ffbfb7ca44cee8d4b94dc1fb0f4 /src/error.h
parent66db52c8b65bbecf38c15db7222fc9a6eede601c (diff)
downloadrunit-3bc722193d7b59c78dc15c723b747919b093828d.tar.gz
runit-3bc722193d7b59c78dc15c723b747919b093828d.tar.xz
runit-3bc722193d7b59c78dc15c723b747919b093828d.zip
* runsv.c: close finish script file descriptor.
  * runsv.c: close logpipe[] instead of sending sigterm to logservice when
    told to exit, loggers should exit when they see EOF on stdin (thx Paul
    Jarc).
  * etc/*/1, etc/*/3: remove explicit 'exit'.
  * error.h: include <errno.h> (upcoming glibc changes).
0.8.2.
Diffstat (limited to 'src/error.h')
-rw-r--r--src/error.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/error.h b/src/error.h
index 086fb55..8ecb400 100644
--- a/src/error.h
+++ b/src/error.h
@@ -3,7 +3,10 @@
 #ifndef ERROR_H
 #define ERROR_H
 
-extern int errno;
+/* 20030124: include <errno.h> -upcoming glibc changes */
+#include <errno.h>
+ 
+/* extern int errno; */
 
 extern int error_intr;
 extern int error_nomem;