summaryrefslogtreecommitdiffstats
path: root/kmix
diff options
context:
space:
mode:
Diffstat (limited to 'kmix')
-rw-r--r--kmix/kmix-platforms.cpp4
-rw-r--r--kmix/mixertoolbox.cpp2
2 files changed, 6 insertions, 0 deletions
diff --git a/kmix/kmix-platforms.cpp b/kmix/kmix-platforms.cpp
index d0c4d1d5..c5a44e01 100644
--- a/kmix/kmix-platforms.cpp
+++ b/kmix/kmix-platforms.cpp
@@ -22,6 +22,9 @@
/* This code is being #include'd from mixer.cpp */
+#ifndef KMIX_PLATFORMS_CPP
+#define KMIX_PLATFORMS_CPP
+
#include <config.h>
#include <tqstring.h>
@@ -149,3 +152,4 @@ MixerFactory g_mixerFactories[] = {
{ NULL, NULL, NULL }
};
+#endif // KMIX_PLATFORMS_CPP
diff --git a/kmix/mixertoolbox.cpp b/kmix/mixertoolbox.cpp
index 857f8d79..ecaf5f9d 100644
--- a/kmix/mixertoolbox.cpp
+++ b/kmix/mixertoolbox.cpp
@@ -29,6 +29,8 @@
#include "mixdevice.h"
#include "mixer.h"
+#include "kmix-platforms.cpp"
+
#include "mixertoolbox.h"
/***********************************************************************************