Fix a few compilation problems found when building Asterisk against uClibc.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@205214 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Sean Bright
2009-07-08 16:43:12 +00:00
parent 370ef6d7eb
commit e75ae63ac2
5 changed files with 171 additions and 3 deletions

View File

@@ -684,7 +684,7 @@ int main(int argc, char *argv[])
fclose(astf);
exit(1);
}
#if HAVE_WORKING_FORK
#ifdef HAVE_WORKING_FORK
if (needfork) {
#ifndef HAVE_SBIN_LAUNCHD
if (daemon(0,0) < 0) {