--- a/AlsaBridge.cpp Fri Dec 18 23:19:32 2020 +0100
+++ b/AlsaBridge.cpp Fri Dec 18 23:28:16 2020 +0100
@@ -16,6 +16,8 @@
*/
#include <iostream>
+#include <alsa/asoundlib.h>
+
#include "AlsaBridge.h"
namespace djmfix {
--- a/AlsaBridge.h Fri Dec 18 23:19:32 2020 +0100
+++ b/AlsaBridge.h Fri Dec 18 23:28:16 2020 +0100
@@ -32,4 +32,4 @@
AlsaBridge* create(djmfix::DJMFix* djmFix);
}
-}
\ No newline at end of file
+}
--- a/Makefile Fri Dec 18 23:19:32 2020 +0100
+++ b/Makefile Fri Dec 18 23:28:16 2020 +0100
@@ -25,4 +25,4 @@
build/djm-fix: DJMFix.cpp DJMFix.h AlsaBridge.cpp AlsaBridge.h djm-fix.cpp
mkdir -p build
- g++ -o $@ DJMFix.cpp AlsaBridge.cpp djm-fix.cpp -lpthread
+ g++ -o $@ DJMFix.cpp AlsaBridge.cpp djm-fix.cpp -lpthread $$(pkg-config --libs --cflags alsa)