[Home]

Summary:ASTERISK-13195: [patch] res/res_http_post also need to include libgen.h in FreeBSD.
Reporter:Yuri (ys)Labels:
Date Opened:2008-12-10 05:28:29.000-0600Date Closed:2008-12-10 10:11:01.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Resources/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) res_http_post.c.diff
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
Comments:By: Digium Subversion (svnbot) 2008-12-10 10:11:01.000-0600

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 ASTERISK-13195)
Reported by: ys
Patches:
     res_http_post.c.diff uploaded by ys (license 281)

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

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