Skip to content

Commit

Permalink
osc.c: define _DARWIN_C_SOURCE
Browse files Browse the repository at this point in the history
this enables compiling on macOS

Signed-off-by: cristina-suteu <[email protected]>
  • Loading branch information
cristina-suteu committed Mar 29, 2024
1 parent 939ae7e commit 7b476e7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions osc.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
* Licensed under the GPL-2.
*
**/

#ifdef __APPLE__
#define _DARWIN_C_SOURCE
#endif

#include <gtk/gtk.h>
#include <gtkdatabox.h>
#include <gtkdatabox_grid.h>
Expand Down

0 comments on commit 7b476e7

Please sign in to comment.