git-svn-id: https://svn.osgeo.org/grass/grass/trunk@67032 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -1,9 +1,11 @@
+#include <stdio.h>
+
#include <grass/dbmi.h>
#include <grass/datetime.h>
#include "odbc.h"
#include "globals.h"
#include "proto.h"
-#include <stdio.h>
int set_column_type(dbColumn * column, int otype);
@@ -2,7 +2,12 @@
#define _ODBC_H_
#ifdef __MINGW32__
-#include <windows.h>
+ #include <windows.h>
+#endif
+#ifdef __CYGWIN__
+ #include <w32api/intrin.h>
+ #include <w32api/wtypes.h>
#endif
/* configure checks for sql.h and stores in $(ODBCINC) */