fix compilation on freebsd

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2927 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2001-10-23 16:32:16 +00:00
parent 79506b1643
commit 50ddccfe4b
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* ControlSpellchecker.C: include <sys/types.h> since FreeBSD needs
that for select.
2001-10-22 Juergen Vigna <jug@sad.it>
* ControlSpellchecker.C (clearParams): use the error_ message of the

View File

@ -17,6 +17,8 @@
#pragma implementation
#endif
#include <sys/types.h> // needed by <sys/select.h> at least on freebsd
#ifdef HAVE_SYS_SELECT_H
# ifdef HAVE_STRINGS_H
// <strings.h> is needed at least on AIX because FD_ZERO uses bzero().