From a831f80e044a72e7db4e5e1855a5b97d85d2f90c Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Fri, 27 Aug 2021 10:06:01 +0900 Subject: [PATCH] tools: Fix for RISC OS which doesn't allow COMMON section. * tools/bftest.c: Define INCLUDED_BY_MAIN_MODULE. * tools/mpicalc.c: Likewise. * tools/shmtest.c: Likewise. -- GnuPG-bug-id: 5215 Signed-off-by: NIIBE Yutaka --- tools/bftest.c | 1 + tools/mpicalc.c | 1 + tools/shmtest.c | 1 + 3 files changed, 3 insertions(+) diff --git a/tools/bftest.c b/tools/bftest.c index 8a1572c2b..3c1d93bd9 100644 --- a/tools/bftest.c +++ b/tools/bftest.c @@ -26,6 +26,7 @@ #include #endif +#define INCLUDED_BY_MAIN_MODULE 1 #include "util.h" #include "cipher.h" #include "i18n.h" diff --git a/tools/mpicalc.c b/tools/mpicalc.c index 46e5fc824..e75d4af39 100644 --- a/tools/mpicalc.c +++ b/tools/mpicalc.c @@ -31,6 +31,7 @@ #include #include +#define INCLUDED_BY_MAIN_MODULE 1 #include "util.h" #include "mpi.h" #include "i18n.h" diff --git a/tools/shmtest.c b/tools/shmtest.c index 76513cbcd..7bf5aa25d 100644 --- a/tools/shmtest.c +++ b/tools/shmtest.c @@ -25,6 +25,7 @@ #ifdef HAVE_SYS_SHM_H #include #endif +#define INCLUDED_BY_MAIN_MODULE 1 #include "util.h" #include "ttyio.h" #include "i18n.h"