From a57cdc84e2f38ea99fd464d8b5b6446c769cc545 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 23 Jan 2019 08:56:40 +0100 Subject: Switch to autotools (#316) --- src/print_volume.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/print_volume.c') diff --git a/src/print_volume.c b/src/print_volume.c index 1d81e13..91e8ce2 100644 --- a/src/print_volume.c +++ b/src/print_volume.c @@ -1,4 +1,5 @@ // vim:ts=4:sw=4:expandtab +#include #include #include #include @@ -8,7 +9,7 @@ #include #include -#ifdef LINUX +#ifdef __linux__ #include #include #include @@ -147,7 +148,7 @@ void print_volume(yajl_gen json_gen, char *buffer, const char *fmt, const char * * proceed to ALSA / OSS */ #endif -#ifdef LINUX +#ifdef __linux__ const long MAX_LINEAR_DB_SCALE = 24; int err; snd_mixer_t *m; -- cgit v1.2.3