summaryrefslogtreecommitdiffstats
path: root/loader/com.h
diff options
context:
space:
mode:
Diffstat (limited to 'loader/com.h')
-rw-r--r--loader/com.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/loader/com.h b/loader/com.h
index 741b25232b..4f8e180684 100644
--- a/loader/com.h
+++ b/loader/com.h
@@ -1,9 +1,8 @@
#ifndef AVIFILE_COM_H
#define AVIFILE_COM_H
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
+
#ifdef HAVE_STDINT_H
#include <stdint.h>
#else
@@ -14,7 +13,7 @@
* Internal functions and structures for COM emulation code.
*/
-#ifndef WIN32
+#if !defined(WIN32) || defined(__CYGWIN__) || defined(__MINGW32)
#ifdef __cplusplus
extern "C" {