summaryrefslogtreecommitdiff
path: root/src/include/gnunet_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_common.h')
-rw-r--r--src/include/gnunet_common.h8
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 */