# HG changeset patch # User diego # Date 1086269455 0 # Node ID 834e7844ab3b2c37614b2644d20105457c48740b # Parent 773ad73744366b4b5b5c73bd6eaac94957608013 MinGW compilation fix from a patch by Joey Parrish, approved by Sascha diff -r 773ad7374436 -r 834e7844ab3b libmpdemux/demux_rtp.cpp --- a/libmpdemux/demux_rtp.cpp Thu Jun 03 12:41:56 2004 +0000 +++ b/libmpdemux/demux_rtp.cpp Thu Jun 03 13:30:55 2004 +0000 @@ -2,6 +2,10 @@ ////////// and the "LIVE.COM Streaming Media" libraries: extern "C" { +// on MinGW, we must include windows.h before the things it conflicts +#ifdef __MINGW32__ // with. they are each protected from +#include // windows.h, but not the other way around. +#endif #include "demux_rtp.h" #include "stheader.h" }