Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | From d3e7651e2f2492dd1031d09a99713644b604cab5 Mon Sep 17 00:00:00 2001 |
| 2 | From: Gerrit Pape <pape@smarden.org> |
| 3 | Date: Wed, 12 Dec 2007 13:44:15 +0000 |
| 4 | Subject: [PATCH] error.h: '#include <errno.h>' instead of 'extern int errno;' |
| 5 | |
| 6 | --- |
| 7 | daemontools-0.76/src/error.h | 2 +- |
| 8 | 1 files changed, 1 insertions(+), 1 deletions(-) |
| 9 | |
| 10 | diff --git daemontools-0.76.orig/src/error.h daemontools-0.76/src/error.h |
| 11 | index 086fb55..f7e8273 100644 |
| 12 | --- daemontools-0.76.orig/src/error.h |
| 13 | +++ daemontools-0.76/src/error.h |
| 14 | @@ -3,7 +3,7 @@ |
| 15 | #ifndef ERROR_H |
| 16 | #define ERROR_H |
| 17 | |
| 18 | -extern int errno; |
| 19 | +#include <errno.h> |
| 20 | |
| 21 | extern int error_intr; |
| 22 | extern int error_nomem; |
| 23 | -- |
| 24 | 1.5.4.2 |
| 25 | |