summaryrefslogtreecommitdiff
path: root/src/system.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/system.hh')
-rw-r--r--src/system.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/system.hh b/src/system.hh
index 080d187f..b9f6b96f 100644
--- a/src/system.hh
+++ b/src/system.hh
@@ -135,6 +135,13 @@ typedef std::ostream::pos_type ostream_pos_type;
#include <sys/wait.h>
#include "fdstream.h"
#endif
+#if defined(HAVE_GETTEXT)
+#include "gettext.h"
+#define _(str) gettext(str)
+#else
+#define textdomain(name)
+#define _(str) str
+#endif
#include <gmp.h>
#include <mpfr.h>