1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

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 <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2021-08-27 10:06:01 +09:00
parent 467f057ad1
commit a831f80e04
3 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,7 @@
#include <fcntl.h> #include <fcntl.h>
#endif #endif
#define INCLUDED_BY_MAIN_MODULE 1
#include "util.h" #include "util.h"
#include "cipher.h" #include "cipher.h"
#include "i18n.h" #include "i18n.h"

View File

@ -31,6 +31,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <ctype.h> #include <ctype.h>
#define INCLUDED_BY_MAIN_MODULE 1
#include "util.h" #include "util.h"
#include "mpi.h" #include "mpi.h"
#include "i18n.h" #include "i18n.h"

View File

@ -25,6 +25,7 @@
#ifdef HAVE_SYS_SHM_H #ifdef HAVE_SYS_SHM_H
#include <sys/shm.h> #include <sys/shm.h>
#endif #endif
#define INCLUDED_BY_MAIN_MODULE 1
#include "util.h" #include "util.h"
#include "ttyio.h" #include "ttyio.h"
#include "i18n.h" #include "i18n.h"