mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-04 22:57:21 +02:00
Ensure to set _GNU_SOURCE
for POSIX compliance with signals
The systemd bus headers aren't setting a POSIX compliance level so we define the catch-all to ensure the build doesn't error out, as seen with issue #3. This is due to the reliance of `siginfo_t`, which requires a minimum POSIX level of `199309L` when using glibc. Signed-off-by: Ikey Doherty <ikey@solus-project.com>
This commit is contained in:
parent
69db9c2a61
commit
8fb77e639d
@ -29,6 +29,8 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
*/
|
||||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include "dbus_messaging.h"
|
||||
#include "daemonize.h"
|
||||
#include "gamemode.h"
|
||||
|
@ -28,6 +28,9 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
*/
|
||||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include <dlfcn.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user