Hi, I am new to Tntnet and recently stumbled across a compiler error
when building tntnet with the --with-ssl=gnutls configuration option.

Apparently GCC became more restrictive regarding system includes in
the latest versions (I believe starting with 4.7.x) and so it's now
required to explicitely include unistd.h when using the ::read() and
::write functions. Unfortunately it was not included in gnutls.cpp
and so my build failed with GCC 4.8.2.

Bernhard Sessler (1):
  gnutls.cpp: Include unistd.h for ::read() and ::write() calls

 framework/common/gnutls.cpp | 1 +
 1 file changed, 1 insertion(+)

-- 
1.8.3.2


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to