aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2021-08-27 01:06:01 +0000
committerNIIBE Yutaka <[email protected]>2021-08-27 01:06:01 +0000
commita831f80e044a72e7db4e5e1855a5b97d85d2f90c (patch)
treea488635ffbb3050f18f063f81d037259584292eb
parentgpg: Use sigdescr_np for newer GNU C library. (diff)
downloadgnupg-a831f80e044a72e7db4e5e1855a5b97d85d2f90c.tar.gz
gnupg-a831f80e044a72e7db4e5e1855a5b97d85d2f90c.zip
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 <[email protected]>
-rw-r--r--tools/bftest.c1
-rw-r--r--tools/mpicalc.c1
-rw-r--r--tools/shmtest.c1
3 files changed, 3 insertions, 0 deletions
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 <fcntl.h>
#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 <stdlib.h>
#include <ctype.h>
+#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 <sys/shm.h>
#endif
+#define INCLUDED_BY_MAIN_MODULE 1
#include "util.h"
#include "ttyio.h"
#include "i18n.h"