summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/rubberband/rubberband/RubberBandStretcher.h1
-rw-r--r--libs/surfaces/wiimote/wiimote.cc2
2 files changed, 2 insertions, 1 deletions
diff --git a/libs/rubberband/rubberband/RubberBandStretcher.h b/libs/rubberband/rubberband/RubberBandStretcher.h
index 1e676f229d..48343c70c9 100644
--- a/libs/rubberband/rubberband/RubberBandStretcher.h
+++ b/libs/rubberband/rubberband/RubberBandStretcher.h
@@ -19,6 +19,7 @@
#define RUBBERBAND_API_MAJOR_VERSION 2
#define RUBBERBAND_API_MINOR_VERSION 0
+#include <cstddef>
#include <vector>
/**
diff --git a/libs/surfaces/wiimote/wiimote.cc b/libs/surfaces/wiimote/wiimote.cc
index 867e1c38e4..26f7e1810f 100644
--- a/libs/surfaces/wiimote/wiimote.cc
+++ b/libs/surfaces/wiimote/wiimote.cc
@@ -178,7 +178,7 @@ wiimote_discovery:
std::cerr << "Wiimote: discovering, press 1+2" << std::endl;
while (!wiimote_handle && !main_thread_quit) {
- bdaddr = *BDADDR_ANY;
+ bdaddr = (bdaddr_t) {{0, 0, 0, 0, 0, 0}};
callback_thread_registered_for_ardour = false;
wiimote_handle = cwiid_open(&bdaddr, 0);