Summary: | ASTERISK-10815: utils.h needs stdarg.h | ||
Reporter: | Simon Perreault (sperreault) | Labels: | |
Date Opened: | 2007-11-19 10:36:55.000-0600 | Date Closed: | 2011-06-07 14:08:14 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | utils.h needs stdarg.h for "va_start". Index: include/asterisk/utils.h =================================================================== --- include/asterisk/utils.h (revision 89420) +++ include/asterisk/utils.h (working copy) @@ -26,6 +26,8 @@ #include "asterisk/network.h" #include <limits.h> +#include <stdarg.h> #include <time.h> /* we want to override localtime_r */ #include "asterisk/lock.h" | ||
Comments: | By: Luigi Rizzo (rizzo) 2007-11-19 12:05:35.000-0600 as for the other report: you are not supposed to include asterisk/foo.h before "asterisk.h", which contains already stdarg.h You are right that the order of inclusion has not been documented in the source tree yet, but it has been explained on the -dev list on messages to which you replied, so you cannot ignore it. By: Luigi Rizzo (rizzo) 2007-11-19 12:06:50.000-0600 not an issue. including 'asterisk.h' is required before other headers. |