The fixes in this commit are mainly to allow compiling of trunk with --enable-dev-mode, mutex profiling, lock debugging, etc. Mainly, the version.c needs to be in the OBJS line; asterisk.h was chosen to have the prototypes for ast_get_version, ast_get_version_num; and the ASTERISK_FILE_VERSION macro needs to be used after including asterisk.h in a few files. I hope I did the right thing. If not, let me know.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97656 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Steve Murphy
2008-01-10 00:50:39 +00:00
parent 247ca0a827
commit 71ad27409c
5 changed files with 7 additions and 1 deletions

View File

@@ -38,6 +38,7 @@
*/
#include "asterisk.h" /* ast_strdupa */
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/utils.h" /* ast_strdupa */
#include "console_video.h" /* ast_strdupa */