blob: 539d756b3e8d1d419a5cdd005408c61a68eaa81d [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001From e7fd072f0df968f342878b77098e97ff07ed28d7 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 14 Jul 2017 10:26:31 -0700
4Subject: [PATCH] ui: Define _GNU_SOURCE
5
6it becomes portable across musl and glibc
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 src/ui/theme.c | 1 +
11 1 file changed, 1 insertion(+)
12
13diff --git a/src/ui/theme.c b/src/ui/theme.c
14index 84b57a0..c7eafc8 100644
15--- a/src/ui/theme.c
16+++ b/src/ui/theme.c
17@@ -60,6 +60,7 @@
18 #include <gtk/gtk.h>
19 #include <string.h>
20 #include <stdlib.h>
21+#define _GNU_SOURCE
22 #define __USE_XOPEN
23 #include <math.h>
24
25--
262.13.3
27