From 63bafa7adf89a9a31dd5fc02a370c03af4905ac4 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 1 Nov 2018 22:19:45 +0100 Subject: [PATCH] client: Fix includes for using with -std=c99 compiler option --- client/command.c | 2 ++ client/display.c | 1 + 2 files changed, 3 insertions(+) diff --git a/client/command.c b/client/command.c index 78872d90..bdc0b9f8 100644 --- a/client/command.c +++ b/client/command.c @@ -24,7 +24,9 @@ #include #endif +#define _GNU_SOURCE #include +#include #include #include diff --git a/client/display.c b/client/display.c index 1ed4ff56..9528b9d7 100644 --- a/client/display.c +++ b/client/display.c @@ -24,6 +24,7 @@ #include #endif +#define _GNU_SOURCE #include #include