From 975ac0ac70f6d4ad5d3ab4dca2e785fcc1c4570b Mon Sep 17 00:00:00 2001 From: Stefan Knoblich Date: Mon, 19 Sep 2011 15:55:07 +0200 Subject: [PATCH] FreeTDM: Fix private/libteletone*.h includes libteletone headers include each other, use #include "" to look in the local dir rather than the include search path. Unbreaking all of my (still) external FreeTDM projects. Signed-off-by: Stefan Knoblich --- libs/freetdm/src/include/private/libteletone.h | 4 ++-- libs/freetdm/src/include/private/libteletone_detect.h | 2 +- libs/freetdm/src/include/private/libteletone_generate.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/freetdm/src/include/private/libteletone.h b/libs/freetdm/src/include/private/libteletone.h index 61078b4984..b039f1f078 100644 --- a/libs/freetdm/src/include/private/libteletone.h +++ b/libs/freetdm/src/include/private/libteletone.h @@ -136,8 +136,8 @@ typedef __int16 int16_t; #endif #endif -#include -#include +#include "libteletone_generate.h" +#include "libteletone_detect.h" #ifdef HAVE_STRING_H #include diff --git a/libs/freetdm/src/include/private/libteletone_detect.h b/libs/freetdm/src/include/private/libteletone_detect.h index 4da368969c..28ae2f5492 100644 --- a/libs/freetdm/src/include/private/libteletone_detect.h +++ b/libs/freetdm/src/include/private/libteletone_detect.h @@ -96,7 +96,7 @@ #ifdef __cplusplus extern "C" { #endif -#include +#include "libteletone.h" /*! \file libteletone_detect.h \brief Tone Detection Routines diff --git a/libs/freetdm/src/include/private/libteletone_generate.h b/libs/freetdm/src/include/private/libteletone_generate.h index 0ff39e0dfa..8e49afaabe 100644 --- a/libs/freetdm/src/include/private/libteletone_generate.h +++ b/libs/freetdm/src/include/private/libteletone_generate.h @@ -116,7 +116,7 @@ extern float powf (float, float); #endif #include #include -#include +#include "libteletone.h" #define TELETONE_VOL_DB_MAX 0 #define TELETONE_VOL_DB_MIN -63