aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2003-02-13 03:19:03 +0800
committeralex <alex@FreeBSD.org>2003-02-13 03:19:03 +0800
commitaa31b61374b758726675bd81b791c250e6e285d7 (patch)
tree9d78d892beb4494a78f56d9d82cc2350d190f823 /emulators
parent2b1277887780e965dbf7af7fb08227f19520d6b2 (diff)
downloadfreebsd-ports-gnome-aa31b61374b758726675bd81b791c250e6e285d7.tar.gz
freebsd-ports-gnome-aa31b61374b758726675bd81b791c250e6e285d7.tar.zst
freebsd-ports-gnome-aa31b61374b758726675bd81b791c250e6e285d7.zip
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 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 */