From 39f1a60497327c301e32a681c33138f42cb98359 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 29 Dec 2015 01:46:14 +0100 Subject: feature test macros MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/daemon.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/daemon.h') diff --git a/src/daemon.h b/src/daemon.h index bd4a7af..f6ebaf0 100644 --- a/src/daemon.h +++ b/src/daemon.h @@ -19,6 +19,9 @@ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. */ +#ifndef _DEFAULT_SOURCE +# define _DEFAULT_SOURCE +#endif #include #include #include @@ -108,7 +111,7 @@ struct job { /** * “argv” followed by “envp”. */ - char payload[0]; + char payload[]; }; -- cgit v1.2.3-70-g09d2