summaryrefslogtreecommitdiffstats
path: root/sys/dev/speaker/spkr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/speaker/spkr.c')
-rw-r--r--sys/dev/speaker/spkr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/speaker/spkr.c b/sys/dev/speaker/spkr.c
index 2d52519..94d4792 100644
--- a/sys/dev/speaker/spkr.c
+++ b/sys/dev/speaker/spkr.c
@@ -130,7 +130,9 @@ rest(int centisecs)
* except possibly at physical block boundaries.
*/
+#ifndef __bool_true_false_are_defined
typedef int bool;
+#endif
#define TRUE 1
#define FALSE 0
OpenPOWER on IntegriCloud