diff --git a/mythplugins/settings.pro b/mythplugins/settings.pro
index 4ddc739..e6e70b2 100644
a
|
b
|
LIBS *= -L$${SYSROOT}$${PREFIX}/$${LIBDIRNAME}
|
10 | 10 | |
11 | 11 | isEmpty(TARGET_OS) : win32 { |
12 | 12 | CONFIG += mingw |
13 | | DEFINES += USING_MINGW |
| 13 | DEFINES += USING_MINGW WIN32_LEAN_AND_MEAN NOMINMAX |
14 | 14 | # Qt4 creates separate compile directories by default. This disables: |
15 | 15 | CONFIG -= debug_and_release debug_and_release_target |
16 | 16 | # Some shared libs we depend on are installed here: |
diff --git a/mythtv/libs/libmyth/audio/audiooutputwin.cpp b/mythtv/libs/libmyth/audio/audiooutputwin.cpp
index 1a55170..7787dc3 100644
a
|
b
|
using namespace std;
|
7 | 7 | |
8 | 8 | #include <windows.h> |
9 | 9 | #include <mmsystem.h> |
| 10 | #include <objbase.h> // For DEFINE_GUID |
10 | 11 | |
11 | 12 | #define LOC QString("AOWin: ") |
12 | 13 | #define LOC_ERR QString("AOWin, error: ") |
diff --git a/mythtv/libs/libmythbase/compat.h b/mythtv/libs/libmythbase/compat.h
index 193add5..08edccf 100644
a
|
b
|
|
46 | 46 | |
47 | 47 | #ifdef USING_MINGW |
48 | 48 | #include <unistd.h> // for usleep() |
| 49 | #include <stdlib.h> // for rand() |
49 | 50 | #include <sys/time.h> |
50 | 51 | #endif |
51 | 52 | |
diff --git a/mythtv/libs/libmythlivemedia/BasicUsageEnvironment/BasicTaskScheduler.cpp b/mythtv/libs/libmythlivemedia/BasicUsageEnvironment/BasicTaskScheduler.cpp
index 80b05e3..b41bc56 100644
a
|
b
|
along with this library; if not, write to the Free Software Foundation, Inc.,
|
21 | 21 | #ifndef IMN_PIM |
22 | 22 | #include "BasicUsageEnvironment.hh" |
23 | 23 | #include "HandlerSet.hh" |
| 24 | #include <stdlib.h> // for exit() |
24 | 25 | #include <stdio.h> |
25 | 26 | #if defined(_QNX4) |
26 | 27 | #include <sys/select.h> |
diff --git a/mythtv/libs/libmythlivemedia/BasicUsageEnvironment/BasicUsageEnvironment.cpp b/mythtv/libs/libmythlivemedia/BasicUsageEnvironment/BasicUsageEnvironment.cpp
index 6def744..8b74558 100644
a
|
b
|
along with this library; if not, write to the Free Software Foundation, Inc.,
|
19 | 19 | |
20 | 20 | #ifndef IMN_PIM |
21 | 21 | #include "BasicUsageEnvironment.hh" |
| 22 | #include <stdlib.h> // for exit() |
22 | 23 | #include <stdio.h> |
23 | 24 | |
24 | 25 | ////////// BasicUsageEnvironment ////////// |
diff --git a/mythtv/settings.pro b/mythtv/settings.pro
index 6355447..30c1a15 100644
a
|
b
|
VERSION = 0.24.0
|
43 | 43 | |
44 | 44 | isEmpty(TARGET_OS) : win32 { |
45 | 45 | CONFIG += mingw |
46 | | DEFINES += WIN32 USING_MINGW |
| 46 | DEFINES += WIN32 USING_MINGW WIN32_LEAN_AND_MEAN NOMINMAX |
47 | 47 | DEFINES -= UNICODE |
48 | 48 | QMAKE_EXTENSION_SHLIB = dll |
49 | 49 | VERSION = |