From 92cfbb2ef26ae5b7e8d64f26decc9b9ff0122639 Mon Sep 17 00:00:00 2001 From: kbipinkumar Date: Mon, 11 Aug 2025 23:29:30 +0530 Subject: [PATCH] zoem: fix build with gcc>= 15. Fix issue #6 --- src/ops.c | 2 ++ src/read.c | 1 + 2 files changed, 3 insertions(+) diff --git a/src/ops.c b/src/ops.c index 1809424..6e929e1 100644 --- a/src/ops.c +++ b/src/ops.c @@ -1,3 +1,5 @@ +#define _XOPEN_SOURCE 700 +#include /* (C) Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007 Stijn van Dongen * * This file is part of Zoem. You can redistribute and/or modify Zoem under the diff --git a/src/read.c b/src/read.c index 5763592..a4b40d6 100644 --- a/src/read.c +++ b/src/read.c @@ -1,3 +1,4 @@ +#define _XOPEN_SOURCE 700 /* (C) Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007 Stijn van Dongen * * This file is part of Zoem. You can redistribute and/or modify Zoem under the