summaryrefslogtreecommitdiff
path: root/fxotune.c
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-01-15 07:09:46 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-01-15 07:09:46 +0000
commit3efda0c325a4575c56852fed50b498a3e248489c (patch)
treeb97fc4d36c3b3d716a86fc97c7db6670a3fae6e2 /fxotune.c
parentbe8facf1f605e21593b1d5133383cd5b494ef239 (diff)
Fix FXOTUNE to know which zaptel.h to use (bug #3346)
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@559 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'fxotune.c')
-rwxr-xr-xfxotune.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/fxotune.c b/fxotune.c
index 13fa647..95058cf 100755
--- a/fxotune.c
+++ b/fxotune.c
@@ -20,10 +20,13 @@
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
+#ifdef STANDALONE_ZAPATA
+#include "zaptel.h"
+#else
#include <linux/zaptel.h>
+#endif
#include "wctdm.h"
#include "fxotune.h"
-#include "zaptel.h"
#define TESTDURATION 64 /* 64 samples of test */
#define BUFFER_LENGTH 128 /* 128 sample buffers */