[asterisk-bugs] [Asterisk 0011300]: utils.h needs string.h

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Nov 19 12:07:52 CST 2007


The following issue requires your FEEDBACK. 
====================================================================== 
http://bugs.digium.com/view.php?id=11300 
====================================================================== 
Reported By:                sperreault
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11300
Category:                   Core-General
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     feedback
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 89420 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-19-2007 10:33 CST
Last Modified:              11-19-2007 12:07 CST
====================================================================== 
Summary:                    utils.h needs string.h
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"
====================================================================== 

---------------------------------------------------------------------- 
 Corydon76 - 11-19-07 12:07  
---------------------------------------------------------------------- 
In all of these include changes, please include the compiler error that
resulted from not having that header.  Thank you. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-19-07 12:07  Corydon76      Note Added: 0073974                          
11-19-07 12:07  Corydon76      Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list