summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/os_internal.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/os_internal.h b/lib/os_internal.h
index 9f6d2610a..bffcb6ecb 100644
--- a/lib/os_internal.h
+++ b/lib/os_internal.h
@@ -203,13 +203,16 @@ char *_xine_private_strndup(const char *s, size_t n);
* (do it only inside ffmpeg)
*/
# ifdef HAVE_AV_CONFIG_H
-# include <windef.h>
+# include <windows.h>
# ifdef near
# undef near
# endif
# ifdef far
# undef far
# endif
+# ifdef frm1
+# undef frm1
+# endif
/* it sucks everywhere :-) */
# define near win32_sucks_near
# define far win32_sucks_far