diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-23 15:35:38 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-23 15:35:38 +0000 |
commit | a16fe9bcce9590ae10e87af301abd6486696db1f (patch) | |
tree | b512e40d5839b04cf8a5f04e27a6e26559d8ac59 /main/asterisk.c | |
parent | 27ab40ff39c113afe44823ac3ba1b0423cfc255a (diff) |
Compile, even if both DAHDI and Zaptel are not installed.
(Closes issue #14120)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@166592 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/asterisk.c')
-rw-r--r-- | main/asterisk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/asterisk.c b/main/asterisk.c index 2afe01a81..8ef99c683 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -3034,6 +3034,7 @@ int main(int argc, char *argv[]) dahdi_chan_name_len = &_dahdi_chan_name_len; dahdi_chan_mode = &_dahdi_chan_mode; +#ifdef HAVE_DAHDI { int fd; int x = 160; @@ -3070,6 +3071,7 @@ int main(int argc, char *argv[]) close(fd); } } +#endif threadstorage_init(); astobj2_init(); |