diff options
Diffstat (limited to 'games/morse')
-rw-r--r-- | games/morse/Makefile | 2 | ||||
-rw-r--r-- | games/morse/morse.c | 2 |
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 { |