summaryrefslogtreecommitdiffstats
path: root/games/morse
diff options
context:
space:
mode:
Diffstat (limited to 'games/morse')
-rw-r--r--games/morse/Makefile2
-rw-r--r--games/morse/morse.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/games/morse/Makefile b/games/morse/Makefile
index 44b20ba..92d1121 100644
--- a/games/morse/Makefile
+++ b/games/morse/Makefile
@@ -4,7 +4,7 @@
PROG= morse
MAN= morse.6
-.if ${MACHINE_ARCH} == "i386"
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
CFLAGS += -DSPEAKER=\"/dev/speaker\"
.endif
diff --git a/games/morse/morse.c b/games/morse/morse.c
index eb9e4d4..87f97dc 100644
--- a/games/morse/morse.c
+++ b/games/morse/morse.c
@@ -64,7 +64,7 @@ static const char rcsid[] =
#include <unistd.h>
#ifdef SPEAKER
-#include <machine/speaker.h>
+#include <dev/speaker/speaker.h>
#endif
struct morsetab {
OpenPOWER on IntegriCloud