Make getaddrfor work with openbsd (bug #415)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-10-22 03:10:34 +00:00
parent 46c8f9282e
commit 8ea87da749
3 changed files with 96 additions and 2 deletions

View File

@@ -46,7 +46,11 @@
#include "answer.h"
/* Which device to use */
#ifdef __OpenBSD__
#define DEV_DSP "/dev/audio"
#else
#define DEV_DSP "/dev/dsp"
#endif
/* Lets use 160 sample frames, just like GSM. */
#define FRAME_SIZE 160