]> git.lyx.org Git - lyx.git/blobdiff - src/ispell.C
move some selection related stuff over to textcursor.C
[lyx.git] / src / ispell.C
index a4f91c517d6d7aee2737dea2b52b103c58501279..ee75bf507c6748e6eebaf4778136737e2ea4c785 100644 (file)
 #include "support/forkedcall.h"
 #include "support/lstrings.h"
 
+// HP-UX 11.x doesn't have this header
+#ifdef HAVE_SYS_SELECT_H
 #include <sys/select.h>
+#endif
 #include <sys/time.h>
 
 #ifndef CXX_GLOBAL_CSTD
@@ -183,7 +186,7 @@ ISpell::ISpell(BufferParams const & params, string const & lang)
 
        // static due to the setvbuf. Ugly.
        static char o_buf[BUFSIZ];
-       
+
        // We need to throw an exception not do this
        pipein[0] = pipein[1] = pipeout[0] = pipeout[1]
                = pipeerr[0] = pipeerr[1] = -1;
@@ -232,7 +235,7 @@ ISpell::ISpell(BufferParams const & params, string const & lang)
        child_.reset(li);
        if (li->start() == -1) {
                error_ = _("Could not create an ispell process.\nYou may not have "
-                       " the right languages installed.");     
+                       " the right languages installed.");
                child_.reset(0);
                return;
        }