diff -Naur lyx-2.0.0/configure.ac lyx-2.0.0-haiku/configure.ac
|
old
|
new
|
|
| 200 | 200 | LIBS= |
| 201 | 201 | AC_CHECK_FUNCS(fcntl, |
| 202 | 202 | [AC_SEARCH_LIBS([gethostbyname], [nsl]) |
| 203 | | AC_SEARCH_LIBS([socket], [socket], [], |
| 204 | | [AC_CHECK_LIB([socket], [socket], [LIBS="-lsocket -lnsl $LIBS"], |
| | 203 | AC_SEARCH_LIBS([socket], [socket network], [], |
| | 204 | [AC_CHECK_LIB([socket], [socket network], [LIBS="-lsocket -lnsl -lnetwork $LIBS"], |
| 205 | 205 | [], [-lnsl])])], |
| 206 | 206 | [lyx_client_subdir=false]) |
| 207 | 207 | AC_SUBST(SOCKET_LIBS,$LIBS) |
diff -Naur lyx-2.0.0/src/ServerSocket.cpp lyx-2.0.0-haiku/src/ServerSocket.cpp
|
old
|
new
|
|
| 31 | 31 | #include "support/bind.h" |
| 32 | 32 | |
| 33 | 33 | #include <cerrno> |
| | 34 | #ifdef HAVE_SYS_STAT_H |
| | 35 | # include <sys/stat.h> |
| | 36 | #endif |
| | 37 | #include <fcntl.h> |
| 34 | 38 | #include <ostream> |
| 35 | 39 | |
| 36 | 40 | #if defined (_WIN32) |