Don't include gettext.h if !ENABLE_NLS.
#ifndef __GST_I18N_APP_H__
#define __GST_I18N_APP_H__
-#include "gettext.h" /* included with gettext distribution and copied */
-
#ifdef ENABLE_NLS
+#include "gettext.h" /* included with gettext distribution and copied */
+
/* we want to use shorthand _() for translating and N_() for marking */
#define _(String) gettext (String)
#define N_(String) gettext_noop (String)
#error You must include config.h before including this header.
#endif
-#include "gettext.h" /* included with gettext distribution and copied */
-
#ifdef ENABLE_NLS
+#include "gettext.h" /* included with gettext distribution and copied */
+
/* we want to use shorthand _() for translating and N_() for marking */
#define _(String) dgettext (GETTEXT_PACKAGE, String)
#define N_(String) gettext_noop (String)