From 91a3dc5607948292f44dd7cf3a194f2799068d25 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Fri, 7 Jul 2000 14:28:52 +0000 Subject: [PATCH] Fix for compiling on AIX git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/lyx-1_1_5@868 a592a061-630c-0410-9148-cb99ea01b6c8 --- ChangeLog | 7 +++++++ configure.in | 2 +- src/spellchecker.C | 4 ++++ 3 files changed, 12 insertions(+), 1 deletion(-) 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