aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2005-11-11 09:57:32 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2005-11-11 09:57:32 +0000
commit6d8200ff0c1e1847fd90a969ae8dcf86feb4c28c (patch)
tree655b865ee787feb1738baa0b0344fac767b143b6 /games
parentc00f3b9d77376231d6c9f2850b7816664df2b9c9 (diff)
downloadsrc-6d8200ff0c1e1847fd90a969ae8dcf86feb4c28c.tar.gz
src-6d8200ff0c1e1847fd90a969ae8dcf86feb4c28c.zip
Notes
Diffstat (limited to 'games')
-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 44b20bab668b..92d11214760b 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 eb9e4d4b7d24..87f97dccd5de 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 {