#include <config.h>
-#include "LString.h"
-#include "lyxrc.h"
-#include "language.h"
+#include "ispell.h"
+
+#include "bufferparams.h"
#include "debug.h"
#include "encoding.h"
-#include "ispell.h"
-#include "WordLangTuple.h"
#include "gettext.h"
-#include "bufferparams.h"
+#include "language.h"
+#include "lyxrc.h"
+#include "WordLangTuple.h"
#include "support/forkedcall.h"
-#include "support/lstrings.h"
// HP-UX 11.x doesn't have this header
#ifdef HAVE_SYS_SELECT_H
#endif
#include <sys/time.h>
-using namespace lyx::support;
-
#ifndef CXX_GLOBAL_CSTD
using std::strcpy;
using std::strlen;
using std::strpbrk;
-using std::strstr;
#endif
using std::endl;
using std::max;
+
namespace {
class LaunchIspell : public lyx::support::ForkedProcess {