Fix for compiling on AIX

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@867 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2000-07-07 14:27:58 +00:00
parent 94bd64c770
commit 71c78d1ce9
4 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2000-07-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* configure.in: add check for strings.h header.
* src/spellchecker.C: include <strings.h> in order to have a
definition for bzero().
2000-07-07 Juergen Vigna <jug@sad.it>
* src/insets/insettext.C (draw): set the status of the bv->text to

View File

@ -188,7 +188,7 @@ AC_LANG_CPLUSPLUS
# some standard header files
AC_HEADER_DIRENT
AC_HEADER_MAJOR
AC_CHECK_HEADERS(sys/time.h sys/types.h sys/select.h)
AC_CHECK_HEADERS(sys/time.h sys/types.h sys/select.h strings.h)
# some annoying header files
#LYX_PATH_HEADER(stl_string_fwd.h)

View File

@ -25,6 +25,8 @@ src/CutAndPaste.C
src/filedlg.C
src/FontLoader.C
src/form1.C
src/frontends/xforms/FormCitation.C
src/frontends/xforms/form_citation.C
src/frontends/xforms/FormCopyright.C
src/frontends/xforms/form_copyright.C
src/frontends/xforms/FormPreferences.C
@ -37,7 +39,6 @@ src/insets/form_graphics.C
src/insets/form_url.C
src/insets/insetbib.C
src/insets/inset.C
src/insets/insetcite.C
src/insets/inseterror.C
src/insets/insetert.C
src/insets/insetexternal.C

View File

@ -34,6 +34,10 @@
#endif
#ifdef HAVE_SYS_SELECT_H
# ifdef HAVE_STRINGS_H
// <strings.h> is needed at least on AIX because FD_ZERO uses bzero().
# include <strings.h>
# endif
#include <sys/select.h>
#endif