compile fixes for stlport

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7930 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2003-10-17 14:30:33 +00:00
parent 7f3eb7cf70
commit dab52aa183
4 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* lyxsocket.C: include <cerrno>
2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net> 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
* lyxfunc.C (dispatch): remove textcache stuff * lyxfunc.C (dispatch): remove textcache stuff

View File

@ -25,6 +25,7 @@
#include "support/socktools.h" #include "support/socktools.h"
#include <iostream> #include <iostream>
#include <cerrno>
using std::endl; using std::endl;
using std::string; using std::string;

View File

@ -1,3 +1,6 @@
2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* socktools.C: honor CXX_GLOBAL_CSTD
2003-10-16 André Pönitz <poenitz@gmx.net> 2003-10-16 André Pönitz <poenitz@gmx.net>

View File

@ -22,10 +22,12 @@
#include <cerrno> #include <cerrno>
using std::endl; using std::endl;
using std::strerror;
using std::string; using std::string;
#ifndef CXX_GLOBAL_CSTD
using std::strerror;
#endif
// This MACRO eppears to be defined only on Linux. // This MACRO eppears to be defined only on Linux.
#if !defined(SUN_LEN) #if !defined(SUN_LEN)
#define SUN_LEN(su) \ #define SUN_LEN(su) \