From 32330196c74b66714b1607970d1059fbef533235 Mon Sep 17 00:00:00 2001 From: "Dr. Michael Lauer" Date: Wed, 21 Feb 2018 10:21:29 +0100 Subject: [PATCH] posix: add feature_test_macro _GNU_SOURCE to sighandler_t https://bugzilla.gnome.org/show_bug.cgi?id=761975 --- vapi/posix.vapi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vapi/posix.vapi b/vapi/posix.vapi index 1274a2be3..9ea15edf1 100644 --- a/vapi/posix.vapi +++ b/vapi/posix.vapi @@ -1259,7 +1259,7 @@ namespace Posix { [CCode (cheader_filename = "signal.h")] public int sigaction (int signum, sigaction_t? act, out sigaction_t? oldact); - [CCode (has_target = false, cheader_filename = "signal.h")] + [CCode (has_target = false, cheader_filename = "signal.h", feature_test_macro = "_GNU_SOURCE")] public delegate void sighandler_t (int signal); [CCode (has_target = false, cheader_filename = "signal.h")] -- 2.47.2