aboutsummaryrefslogtreecommitdiff
path: root/src/pj_mutex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pj_mutex.c')
-rw-r--r--src/pj_mutex.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/pj_mutex.c b/src/pj_mutex.c
index b3e4e8ee..60d6fc74 100644
--- a/src/pj_mutex.c
+++ b/src/pj_mutex.c
@@ -27,10 +27,14 @@
* DEALINGS IN THE SOFTWARE.
*****************************************************************************/
-#include <proj_api.h>
+
+/* projects.h and windows.h conflict - avoid this! */
#ifndef _WIN32
+#include <projects.h>
PJ_CVSID("$Id: pj_transform.c 1504 2009-01-06 02:11:57Z warmerdam $");
+#else
+#include <proj_api.h>
#endif
#ifdef _WIN32