[asterisk-bugs] [Asterisk 0014051]: [patch] res/res_http_post also need to include libgen.h in FreeBSD.

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Dec 10 10:11:01 CST 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14051 
====================================================================== 
Reported By:                ys
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   14051
Category:                   Resources/General
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     resolved
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 162548 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-12-10 05:28 CST
Last Modified:              2008-12-10 10:11 CST
====================================================================== 
Summary:                    [patch] res/res_http_post also need to include
libgen.h  in FreeBSD.
Description: 
Hello.

I'am can't compile res/res_http_post if devmode is enabled on FreeBSD:

res_http_post.c: In function `readmimefile':
res_http_post.c:242: warning: implicit declaration of function `basename'
res_http_post.c:242: warning: assignment makes pointer from integer
without a cast
gmake[1]: *** [res_http_post.o] Error 1
gmake[1]: Leaving directory `/usr/home/asterisk/src/asterisk/res'
gmake: *** [res] Error 2

====================================================================== 

---------------------------------------------------------------------- 
 (0096089) svnbot (reporter) - 2008-12-10 10:11
 http://bugs.digium.com/view.php?id=14051#c96089 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 162660

U   trunk/res/res_http_post.c

------------------------------------------------------------------------
r162660 | file | 2008-12-10 10:11:01 -0600 (Wed, 10 Dec 2008) | 6 lines

FreeBSD also needs libgen.h
(closes issue http://bugs.digium.com/view.php?id=14051)
Reported by: ys
Patches:
      res_http_post.c.diff uploaded by ys (license 281)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=162660 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-10 10:11 svnbot         Checkin                                      
2008-12-10 10:11 svnbot         Note Added: 0096089                          
2008-12-10 10:11 svnbot         Status                   assigned => resolved
2008-12-10 10:11 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list