summaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2003-02-12 19:19:03 +0000
committeralex <alex@FreeBSD.org>2003-02-12 19:19:03 +0000
commitaa31b61374b758726675bd81b791c250e6e285d7 (patch)
tree9d78d892beb4494a78f56d9d82cc2350d190f823 /emulators
parent2b1277887780e965dbf7af7fb08227f19520d6b2 (diff)
downloadFreeBSD-ports-aa31b61374b758726675bd81b791c250e6e285d7.zip
FreeBSD-ports-aa31b61374b758726675bd81b791c250e6e285d7.tar.gz
Fix build on -CURRENT by conditionally defining M_WAITOK as 0x0000.
Diffstat (limited to 'emulators')
-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 d3a151e..36fe908 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 */
OpenPOWER on IntegriCloud