diff --git a/src/ChangeLog b/src/ChangeLog index 83a24e33b5..519111b7d8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2003-10-14 Jean-Marc Lasgouttes + + * lyxsocket.C: include + 2003-10-17 Lars Gullik Bjønnes * lyxfunc.C (dispatch): remove textcache stuff diff --git a/src/lyxsocket.C b/src/lyxsocket.C index b84a51d15c..429d6ee2e8 100644 --- a/src/lyxsocket.C +++ b/src/lyxsocket.C @@ -25,6 +25,7 @@ #include "support/socktools.h" #include +#include using std::endl; using std::string; diff --git a/src/support/ChangeLog b/src/support/ChangeLog index 47f6b432cd..1b59652977 100644 --- a/src/support/ChangeLog +++ b/src/support/ChangeLog @@ -1,3 +1,6 @@ +2003-10-14 Jean-Marc Lasgouttes + + * socktools.C: honor CXX_GLOBAL_CSTD 2003-10-16 André Pönitz diff --git a/src/support/socktools.C b/src/support/socktools.C index 640e73f700..1e6a0af1de 100644 --- a/src/support/socktools.C +++ b/src/support/socktools.C @@ -22,10 +22,12 @@ #include using std::endl; -using std::strerror; - using std::string; +#ifndef CXX_GLOBAL_CSTD +using std::strerror; +#endif + // This MACRO eppears to be defined only on Linux. #if !defined(SUN_LEN) #define SUN_LEN(su) \