diff host/tools/Utils/common/eCosSocket.h @ 2171:ff4a4e7f57a8

* common/eCosSocket.h: Specify CeCosSerial as a friend class to enable compilation with GCC 4.x. [ Bugzilla 1000207 ]
author jld
date Wed, 29 Mar 2006 08:27:59 +0000
parents 518f42066aba
children 74dbf4c3f2e1
line wrap: on
line diff
--- a/host/tools/Utils/common/eCosSocket.h
+++ b/host/tools/Utils/common/eCosSocket.h
@@ -75,6 +75,7 @@ class CeCosSerial;
 
 class CeCosSocket {
 public:	
+	friend class CeCosSerial;
 	static const String GetHostByName(LPCTSTR pszHost);
 
   // These functions must be called before any other operation is carried out: