projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c2377d
)
more Cygwin portability (issue #4678)
author
Kevin P. Fleming
<kpfleming@digium.com>
Thu, 8 Sep 2005 02:21:24 +0000
(
02:21
+0000)
committer
Kevin 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
patch
|
blob
|
history
diff --git
a/cdr/cdr_odbc.c
b/cdr/cdr_odbc.c
index
b7a7d1a
..
a3e2a69
100755
(executable)
--- 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"