diff --git a/ChangeLog b/ChangeLog index e2d0d74e2a..c44a5bab51 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2000-07-07 Jean-Marc Lasgouttes + + * configure.in: add check for strings.h header. + + * src/spellchecker.C: include to make sure that + bzero() is defined (needed by FD_ZERO at least on AIX). + 2000-07-05 Jean-Marc Lasgouttes * src/LaTeX.C: Patch from Baruch to add hebrew table of diff --git a/configure.in b/configure.in index cda5a52f5a..e02a6f17a8 100644 --- a/configure.in +++ b/configure.in @@ -165,7 +165,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) diff --git a/src/spellchecker.C b/src/spellchecker.C index d44a128e90..2f83d7aa74 100644 --- a/src/spellchecker.C +++ b/src/spellchecker.C @@ -34,6 +34,10 @@ #endif #ifdef HAVE_SYS_SELECT_H +# ifdef HAVE_STRINGS_H + // is needed at least on AIX because FD_ZERO uses bzero(). +# include +# endif #include #endif