Bug 6544 - libreplace fails to compile on QNX
libreplace fails to compile on QNX
Product: Samba 4.0
Classification: Unclassified
Component: Build
Other Windows XP
: P3 normal
: ---
Assigned To: Jelmer Vernooij
Matthias Dieter Wallnöfer
Depends on:
  Show dependency treegraph
Reported: 2009-07-09 11:21 UTC by Matt Kraai
Modified: 2009-07-20 02:13 UTC (History)
0 users

See Also:

Patch (1.25 KB, patch)
2009-07-09 11:47 UTC, Matt Kraai
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Kraai 2009-07-09 11:21:50 UTC
When libreplace tries to build on QNX, it fails with the following error:

> Compiling test/testsuite.c
> /home/build/build_farm/libreplace/./test/testsuite.c: In function 'test_setlinebuf':
> /home/build/build_farm/libreplace/./test/testsuite.c:176: error: implicit declaration of function 'setlinebuf'

setlinebuf is declared in /usr/include/unix.h on QNX, which isn't included.
Comment 1 Matt Kraai 2009-07-09 11:47:28 UTC
Created attachment 4410 [details]
Comment 2 Matthias Dieter Wallnöfer 2009-07-20 02:13:22 UTC
Fixed in branch "master".