[asterisk-bugs] [Asterisk 0011300]: utils.h needs string.h
noreply at bugs.digium.com
noreply at bugs.digium.com
Mon Nov 19 12:10:55 CST 2007
A NOTE has been added to this issue.
======================================================================
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:10 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:10
----------------------------------------------------------------------
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.
Issue History
Date Modified Username Field Change
======================================================================
11-19-07 12:10 rizzo Note Added: 0073978
======================================================================
More information about the asterisk-bugs
mailing list