Skip to content

Commit

Permalink
audio/carla: Compile fix for FreeBSD.
Browse files Browse the repository at this point in the history
CarlaPluginUI.cpp:55:38: error: use of undeclared identifier 'PTHREAD_MUTEX_INITIALIZER'

Approved by:	yuri
  • Loading branch information
hselasky committed Nov 3, 2021
1 parent de463d4 commit 6893887
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions audio/carla/files/patch-source_utils_CarlaPluginUI.cpp
@@ -0,0 +1,10 @@
--- source/utils/CarlaPluginUI.cpp.orig 2021-11-03 18:15:18 UTC
+++ source/utils/CarlaPluginUI.cpp
@@ -19,6 +19,7 @@
#include "CarlaPluginUI.hpp"

#ifdef HAVE_X11
+# include <pthread.h>
# include <sys/types.h>
# include <X11/Xatom.h>
# include <X11/Xlib.h>

0 comments on commit 6893887

Please sign in to comment.