mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 01:08:45 +00:00
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
This commit is contained in:
parent
62b45d84f8
commit
91a3dc5607
@ -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> to make sure that
|
||||
bzero() is defined (needed by FD_ZERO at least on AIX).
|
||||
|
||||
2000-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||
|
||||
* src/LaTeX.C: Patch from Baruch to add hebrew table of
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user