summaryrefslogtreecommitdiff
path: root/emulators/rtc
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2003-02-12 19:19:03 +0000
committerAlexander Langer <alex@FreeBSD.org>2003-02-12 19:19:03 +0000
commit091a8416e73d8e7c747b91af326f2dcfcc1aba5b (patch)
treeb41f6b63d67d454baa99834ac40ca6c9a0deca97 /emulators/rtc
parentSeems like I had another fix in my system. On 5.0, the vmnet1 in (diff)
Fix build on -CURRENT by conditionally defining M_WAITOK as 0x0000.
Diffstat (limited to 'emulators/rtc')
-rw-r--r--emulators/rtc/files/rtc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/emulators/rtc/files/rtc.h b/emulators/rtc/files/rtc.h
index d3a151e286e5..36fe9083e951 100644
--- a/emulators/rtc/files/rtc.h
+++ b/emulators/rtc/files/rtc.h
@@ -5,5 +5,9 @@
#define RTCIO_PIE_ON _IO('p', 0x05)
#define RTCIO_IRQP_SET _IO('p', 0x0c)
+#ifndef M_WAITOK
+#define M_WAITOK 0x0000
+#endif
+
#endif /* RTC_H */