summaryrefslogtreecommitdiff
path: root/lib/xmemcoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xmemcoll.c')
-rw-r--r--lib/xmemcoll.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/xmemcoll.c b/lib/xmemcoll.c
index 0e35cb677..7fe06b8cb 100644
--- a/lib/xmemcoll.c
+++ b/lib/xmemcoll.c
@@ -28,12 +28,8 @@ extern int errno;
#include <stdlib.h>
-#if ENABLE_NLS
-# include <libintl.h>
-# define _(Text) gettext (Text)
-#else
-# define _(Text) Text
-#endif
+#include "gettext.h"
+#define _(msgid) gettext (msgid)
#include "error.h"
#include "memcoll.h"