summaryrefslogtreecommitdiff
path: root/hw/aud.h
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2015-12-21 18:32:50 +0000
committerFreeArtMan <dos21h@gmail.com>2015-12-21 18:32:50 +0000
commit8900b3c75142c9701657f20b307d70f106cc3697 (patch)
tree2163fb380a5f66ebe2962a7dd99ee546419bb3d4 /hw/aud.h
parent9381ae971066a42ad00def424c29370ced09eb60 (diff)
downloadradiola-8900b3c75142c9701657f20b307d70f106cc3697.tar.gz
radiola-8900b3c75142c9701657f20b307d70f106cc3697.zip
Add NetBSD support files and config_bsd.h to be compatible with NetBSD
Diffstat (limited to 'hw/aud.h')
-rw-r--r--hw/aud.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/hw/aud.h b/hw/aud.h
index 500fe18..396c27d 100644
--- a/hw/aud.h
+++ b/hw/aud.h
@@ -1,11 +1,14 @@
#ifndef __RADIOLA_AUD_H
#define __RADIOLA_AUD_H
+#include "../config.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
-#include <alsa/asoundlib.h>
+#if defined(OS_LINUX)
+#include <alsa/asoundlib.h>
+#endif
int audio_get_devices();
#endif \ No newline at end of file