Summary: | ASTERISK-10814: utils.h needs string.h | ||
Reporter: | Simon Perreault (sperreault) | Labels: | |
Date Opened: | 2007-11-19 10:33:43.000-0600 | Date Closed: | 2011-06-07 14:08:23 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | utils.h needs string.h for "strdup". Index: include/asterisk/utils.h =================================================================== --- include/asterisk/utils.h (revision 89420) +++ include/asterisk/utils.h (working copy) @@ -26,6 +26,7 @@ #include "asterisk/network.h" #include <limits.h> +#include <string.h> #include <time.h> /* we want to override localtime_r */ #include "asterisk/lock.h" | ||
Comments: | By: Tilghman Lesher (tilghman) 2007-11-19 12:07:51.000-0600 In all of these include changes, please include the compiler error that resulted from not having that header. Thank you. By: Luigi Rizzo (rizzo) 2007-11-19 12:10:55.000-0600 in fact, all these reports are not bugs- if your source correctly includes "asterisk.h" in the first place, it takes care of all the missing includes. By: Luigi Rizzo (rizzo) 2007-11-19 12:11:17.000-0600 see ASTERISK-10815 |