From a43cea030444a079fcb50d6bd2d6f40f6093da8a Mon Sep 17 00:00:00 2001 From: "Sven M. Hallberg" Date: Mon, 18 Aug 2014 16:51:16 +0200 Subject: [PATCH] don't require GETTEXT_PACKAGE unless compiling with ENABLE_NLS --- avahi-common/i18n.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/avahi-common/i18n.h b/avahi-common/i18n.h index 2a613e5..f46931d 100644 --- a/avahi-common/i18n.h +++ b/avahi-common/i18n.h @@ -20,12 +20,12 @@ USA. ***/ +#ifdef ENABLE_NLS + #if !defined(GETTEXT_PACKAGE) #error "Something is very wrong here, config.h needs to be included first" #endif -#ifdef ENABLE_NLS - #include #define _(String) dgettext(GETTEXT_PACKAGE, String) -- 2.39.5