gentoo-overlay/sys-apps/systemd/files/0030-test-Define-FTW_CONTIN...

30 lines
810 B
Diff

From 13911055682e55f22c0dbbdb0f381360e8c160e2 Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 18 Aug 2024 03:18:10 -0500
Subject: [PATCH 30/34] test: Define FTW_CONTINUE if not already defined
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Signed-off-by: Alexander Miroshnichenko <alex@millerson.name>
---
src/test/test-recurse-dir.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/test/test-recurse-dir.c b/src/test/test-recurse-dir.c
index 8684d064ec39..9697667f8dfc 100644
--- a/src/test/test-recurse-dir.c
+++ b/src/test/test-recurse-dir.c
@@ -1,6 +1,9 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#include <ftw.h>
+#ifndef FTW_CONTINUE
+#define FTW_CONTINUE 0
+#endif
#include "fd-util.h"
#include "log.h"
--
2.41.0