Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | From e7fd072f0df968f342878b77098e97ff07ed28d7 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Fri, 14 Jul 2017 10:26:31 -0700 |
| 4 | Subject: [PATCH] ui: Define _GNU_SOURCE |
| 5 | |
| 6 | it becomes portable across musl and glibc |
| 7 | |
| 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 9 | --- |
| 10 | src/ui/theme.c | 1 + |
| 11 | 1 file changed, 1 insertion(+) |
| 12 | |
| 13 | diff --git a/src/ui/theme.c b/src/ui/theme.c |
| 14 | index 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 | -- |
| 26 | 2.13.3 |
| 27 | |