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

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Nov 19 12:11:18 CST 2007


The following issue has been CLOSED 
====================================================================== 
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:                     closed
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:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             11-19-2007 10:33 CST
Last Modified:              11-19-2007 12:11 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"
====================================================================== 

---------------------------------------------------------------------- 
 rizzo - 11-19-07 12:11  
---------------------------------------------------------------------- 
see http://bugs.digium.com/view.php?id=11301 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-19-07 12:11  rizzo          Status                   feedback => closed  
11-19-07 12:11  rizzo          Note Added: 0073979                          
======================================================================




More information about the asterisk-bugs mailing list