Include gettext.h instead of <libintl.h> with #ifdefs.
[gnulib.git] / lib / xmemcoll.c
index 0e35cb6..7fe06b8 100644 (file)
@@ -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"