Guillaume Munch wrote:
> Le 04/07/2016 02:20, Pavel Sanda a écrit :
>> anyone can reproduce this (gcc 4.9.3):
>
> Not with 4.6 nor with 5.3 but there are probably configure switches
> involved.

Indeed, the bug s triggered when I use --enable-build-type=rel.

> You can try adding:
>
> #ifdef HAVE_UNISTD_H
> # include <unistd.h>
> #endif
>
> to src/ServerSocket.cpp. 

This fixes it.
Pavel

Reply via email to