diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-09-08 02:21:24 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-09-08 02:21:24 +0000 |
commit | f77779b4fc4247a1f5330e4fc65d2bb77847f6fe (patch) | |
tree | 82ad97914189c0d8e8479348cf824eef463f0b80 /cdr | |
parent | 4c2377ddd997f39a91584d4f14121d20c64fe87d (diff) |
more Cygwin portability (issue #4678)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'cdr')
-rwxr-xr-x | cdr/cdr_odbc.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cdr/cdr_odbc.c b/cdr/cdr_odbc.c index b7a7d1a6a..a3e2a69b1 100755 --- a/cdr/cdr_odbc.c +++ b/cdr/cdr_odbc.c @@ -19,9 +19,16 @@ #include <unistd.h> #include <time.h> +#ifndef __CYGWIN__ #include <sql.h> #include <sqlext.h> #include <sqltypes.h> +#else +#include <windows.h> +#include <w32api/sql.h> +#include <w32api/sqlext.h> +#include <w32api/sqltypes.h> +#endif #include "asterisk.h" |