Fabio Berton | efa5849 | 2015-10-26 13:22:07 -0200 | [diff] [blame] | 1 | Upstream-Status: Inappropriate [configuration] |
| 2 | |
| 3 | Subject: [PATCH 4/5] Add includes |
| 4 | Organization: O.S. Systems Software LTDA. |
| 5 | |
| 6 | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> |
| 7 | --- |
| 8 | inc/toast.h | 7 ++++++- |
| 9 | 1 file changed, 6 insertions(+), 1 deletion(-) |
| 10 | |
| 11 | diff --git a/inc/toast.h b/inc/toast.h |
| 12 | index 911769d..3e710d0 100644 |
| 13 | --- a/inc/toast.h |
| 14 | +++ b/inc/toast.h |
| 15 | @@ -16,10 +16,11 @@ |
| 16 | |
| 17 | #include <stdio.h> |
| 18 | #include <ctype.h> |
| 19 | +#include <pthread.h> |
| 20 | #include <signal.h> |
| 21 | |
| 22 | #include <errno.h> |
| 23 | -#ifndef HAS_ERRNO_DECL |
| 24 | +#ifndef errno |
| 25 | extern int errno; |
| 26 | #endif |
| 27 | |
| 28 | @@ -37,6 +38,10 @@ |
| 29 | # endif |
| 30 | #endif |
| 31 | |
| 32 | +#ifdef HAS_STDIO_H |
| 33 | +# include <stdio.h> |
| 34 | +#endif |
| 35 | + |
| 36 | #include "gsm.h" |
| 37 | |
| 38 | #ifndef S_ISREG |
| 39 | -- |
| 40 | 2.1.4 |
| 41 | |