diff options
author | Alessio Vanni <vannilla@firemail.cc> | 2021-09-10 16:38:35 +0200 |
---|---|---|
committer | Alessio Vanni <vannilla@firemail.cc> | 2021-09-10 16:38:35 +0200 |
commit | 46e07ed8eb64ff5a7473ac51de2e39c5a8a6ab3d (patch) | |
tree | ca5232612ba512e24f8e9d1b4cc7c6b8c4e71b64 | |
parent | 3da9cbd621a98c885a0c633ddaec0a84aa8a8e66 (diff) |
Include "gettext.h" even when "platform.h" is unavailable
-rw-r--r-- | src/include/gnunet_common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h index 3ee2a070a..ca3ddceaa 100644 --- a/src/include/gnunet_common.h +++ b/src/include/gnunet_common.h @@ -61,6 +61,14 @@ #include <byteswap.h> #endif + +/* This is also included in platform.h, but over there a couple of + GNUnet-specific gettext-related macros are defined in addition to including + the header file. Because this header file uses gettext, this include + statement makes sure gettext macros are defined even when platform.h is + unavailable. */ +#include "gettext.h" + #ifdef __cplusplus extern "C" { #if 0 /* keep Emacsens' auto-indent happy */ |