summaryrefslogtreecommitdiffstats
path: root/games/morse/morse.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/morse/morse.c')
-rw-r--r--games/morse/morse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/morse/morse.c b/games/morse/morse.c
index 7663402..45c64b8 100644
--- a/games/morse/morse.c
+++ b/games/morse/morse.c
@@ -63,6 +63,9 @@ static const char rcsid[] =
#include <termios.h>
#include <unistd.h>
+/* Always use the speaker, let the open fail if -p is selected */
+#define SPEAKER "/dev/speaker"
+
#ifdef SPEAKER
#include <dev/speaker/speaker.h>
#endif
OpenPOWER on IntegriCloud