Re: ::waitpid under kfreebsd ?
On 15/05/2013 15:04, Petr Salinger wrote:
>> However, it is failing on:
>> lvm-toolchain-3.2-3.2repack/tools/lldb/source/Host/common/Host.cpp:156:38:
>>
>> error: '::waitpid' has not been declared
>>
>> The code is:
>> const lldb::pid_t wait_pid = ::waitpid (pid, &status, options);
>>
>> The full log is available here:
>> https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-3.2&arch=kfreebsd-amd64&ver=1%3A3.2repack-3&stamp=1368549460
>>
>>
>> Does it ring a bell to anyone ?
>
> waipid() is declared in <sys/wait.h> and provided by libc.
>
> Missing include ?
Right, thanks :)
#elif defined (__linux__)
#include <sys/wait.h>
#elif defined (__FreeBSD__)
Sylvestre
Reply to: