Skip to content

Commit

Permalink
Fix syscall() not being defined when using musl
Browse files Browse the repository at this point in the history
  • Loading branch information
derselbst committed May 13, 2023
1 parent 70e961a commit 6f361d7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/bindings/fluid_rtkit.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
SOFTWARE.
***/

#ifndef _GNU_SOURCE
// required for syscall()
#define _GNU_SOURCE
#endif

#include "fluid_sys.h"

#ifdef DBUS_SUPPORT
Expand All @@ -34,11 +39,6 @@

#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__)

#ifndef _GNU_SOURCE
#define _GNU_SOURCE

#endif

#include <sys/syscall.h>
#include <sys/resource.h>

Expand Down

0 comments on commit 6f361d7

Please sign in to comment.