From 431793d307f564c903904d31307b730c82b6dea9 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 21 Nov 2016 17:34:34 +0100 Subject: csourceL add missing include and define --- csource/common.go | 2 ++ executor/common.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/csource/common.go b/csource/common.go index 40f5b7ae9..76de0877e 100644 --- a/csource/common.go +++ b/csource/common.go @@ -3,11 +3,13 @@ package csource var commonHeader = ` +#define _GNU_SOURCE #include #include #include #include #include +#include #include #include #include diff --git a/executor/common.h b/executor/common.h index 62462817f..499d0076a 100644 --- a/executor/common.h +++ b/executor/common.h @@ -2,11 +2,13 @@ // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. // This file is shared between executor and csource package. +#define _GNU_SOURCE #include #include #include #include #include +#include #include #include #include -- cgit mrf-deployment