summaryrefslogtreecommitdiff
path: root/system/daemontools/daemontools-0.76.errno.patch
diff options
context:
space:
mode:
authorDuncan Roe <duncan_roe@optusnet.com.au>2017-05-27 00:14:51 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-27 07:29:17 +0700
commit078eb2ab0f1fdffc38ced39c1e0bb770ed977e31 (patch)
treeafaca9b529207277f28c98bc1a49d9dac93d8aca /system/daemontools/daemontools-0.76.errno.patch
parentc85df60ebec427cc345bb8b4ae387d7ea808db1c (diff)
downloadslackbuilds-078eb2ab0f1fdffc38ced39c1e0bb770ed977e31.tar.gz
system/daemontools: Added (djb's tools for managing UNIX services).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/daemontools/daemontools-0.76.errno.patch')
-rw-r--r--system/daemontools/daemontools-0.76.errno.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/daemontools/daemontools-0.76.errno.patch b/system/daemontools/daemontools-0.76.errno.patch
new file mode 100644
index 0000000000..d1884f5797
--- /dev/null
+++ b/system/daemontools/daemontools-0.76.errno.patch
@@ -0,0 +1,12 @@
+diff -ur daemontools-0.76.old/src/error.h daemontools-0.76/src/error.h
+--- daemontools-0.76.old/src/error.h 2001-07-12 11:49:49.000000000 -0500
++++ daemontools-0.76/src/error.h 2003-01-09 21:52:01.000000000 -0600
+@@ -3,7 +3,7 @@
+ #ifndef ERROR_H
+ #define ERROR_H
+
+-extern int errno;
++#include <errno.h>
+
+ extern int error_intr;
+ extern int error_nomem;