From 5cc00f4bcd10d5606b8ae1af57895c8fb566e42c Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Fri, 8 Jun 2001 13:34:41 +0000 Subject: [PATCH] fix getext problem with --disable-nls git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2100 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/BufferView_pimpl.C | 1 + src/ChangeLog | 4 ++++ src/gettext.h | 4 ++-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/BufferView_pimpl.C b/src/BufferView_pimpl.C index 3936760163..49aca6c6ab 100644 --- a/src/BufferView_pimpl.C +++ b/src/BufferView_pimpl.C @@ -64,6 +64,7 @@ extern int greek_kb_flag; using std::vector; using std::find_if; +using std::find; using std::pair; using std::endl; using std::make_pair; diff --git a/src/ChangeLog b/src/ChangeLog index 116c3b65b8..31408ed78a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2001-06-07 Jean-Marc Lasgouttes + + * gettext.h: include LString.h even when --disable-nls is on. + 2001-06-07 Juergen Vigna * text.C (BreakAgain): subst spaces with tabs. diff --git a/src/gettext.h b/src/gettext.h index 08342634ec..002d2bc563 100644 --- a/src/gettext.h +++ b/src/gettext.h @@ -30,10 +30,10 @@ * Panic/fatal (that should not happen) messages need not be translated */ -#ifdef ENABLE_NLS - #include "LString.h" +#ifdef ENABLE_NLS + /// char const * _(char const *); /// -- 2.39.2