aboutsummaryrefslogtreecommitdiffstats
path: root/cdr
diff options
context:
space:
mode:
Diffstat (limited to 'cdr')
-rwxr-xr-xcdr/cdr_odbc.c7
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"