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 /src | |
parent | 3da9cbd621a98c885a0c633ddaec0a84aa8a8e66 (diff) | |
download | gnunet-46e07ed8eb64ff5a7473ac51de2e39c5a8a6ab3d.tar.gz gnunet-46e07ed8eb64ff5a7473ac51de2e39c5a8a6ab3d.zip |
Include "gettext.h" even when "platform.h" is unavailable
Diffstat (limited to 'src')
-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 @@ | |||
61 | #include <byteswap.h> | 61 | #include <byteswap.h> |
62 | #endif | 62 | #endif |
63 | 63 | ||
64 | |||
65 | /* This is also included in platform.h, but over there a couple of | ||
66 | GNUnet-specific gettext-related macros are defined in addition to including | ||
67 | the header file. Because this header file uses gettext, this include | ||
68 | statement makes sure gettext macros are defined even when platform.h is | ||
69 | unavailable. */ | ||
70 | #include "gettext.h" | ||
71 | |||
64 | #ifdef __cplusplus | 72 | #ifdef __cplusplus |
65 | extern "C" { | 73 | extern "C" { |
66 | #if 0 /* keep Emacsens' auto-indent happy */ | 74 | #if 0 /* keep Emacsens' auto-indent happy */ |