more Cygwin portability (issue #4678)
authorKevin P. Fleming <kpfleming@digium.com>
Thu, 8 Sep 2005 02:21:24 +0000 (02:21 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Thu, 8 Sep 2005 02:21:24 +0000 (02:21 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6548 65c4cc65-6c06-0410-ace0-fbb531ad65f3

cdr/cdr_odbc.c

index b7a7d1a..a3e2a69 100755 (executable)
 #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"