aboutsummaryrefslogtreecommitdiff
path: root/Mpu401.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Mpu401.cpp')
-rw-r--r--Mpu401.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/Mpu401.cpp b/Mpu401.cpp
index 1f9e8ec..d4ca931 100644
--- a/Mpu401.cpp
+++ b/Mpu401.cpp
@@ -51,14 +51,15 @@
#define LOG_ENABLE_FLOW 1
#define LOG_GROUP LOG_GROUP_DEV_SB16
#include <VBox/vmm/pdmdev.h>
-#ifndef IN_RING3
-# include <VBox/vmm/pdmapi.h>
-#endif
#include <VBox/AssertGuest.h>
#include <VBox/version.h>
#include <iprt/assert.h>
#include <iprt/mem.h>
+#ifndef IN_RING3
+#error "R3-only driver"
+#endif
+
#if RT_OPSYS == RT_OPSYS_LINUX
#include "midialsa.h"
typedef MIDIOutAlsa MIDIOutBackend;