[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 05:29:58 CST 2008


The following issue has been UPDATED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14051 
====================================================================== 
Reported By:                ys
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14051
Category:                   Resources/General
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     new
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:              
====================================================================== 
Date Submitted:             2008-12-10 05:28 CST
Last Modified:              2008-12-10 05:29 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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-10 05:29 ys             Summary                  res/res_http_post also
need to include libgen.h  in FreeBSD. => [patch] res/res_http_post also need to
include libgen.h  in FreeBSD.
======================================================================




More information about the asterisk-bugs mailing list