Browse Source

Fix a build error on FreeBSD

Include <signal.h> in order to make `kill`, `SIGKILL` available.
tags/v2.1-rc1
JP Cimalando Filipe Coelho <falktx@falktx.com> 5 years ago
parent
commit
84b069810a
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      source/bridges-plugin/CarlaBridgePlugin.cpp

+ 4
- 1
source/bridges-plugin/CarlaBridgePlugin.cpp View File

@@ -26,9 +26,12 @@
#include "CarlaMainLoop.hpp"
#include "CarlaMIDI.h"

#ifdef CARLA_OS_UNIX
# include <signal.h>
#endif

#ifdef CARLA_OS_LINUX
# include <sched.h>
# include <signal.h>
# define SCHED_RESET_ON_FORK 0x40000000
#endif



Loading…
Cancel
Save