Bug 6544 - libreplace fails to compile on QNX
Summary: libreplace fails to compile on QNX
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: Build (show other bugs)
Version: unspecified
Hardware: Other Windows XP
: P3 normal (vote)
Target Milestone: ---
Assignee: Jelmer Vernooij
QA Contact: Matthias Dieter Wallnöfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-09 11:21 UTC by Matt Kraai (mail address dead)
Modified: 2009-07-20 02:13 UTC (History)
0 users

See Also:


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

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Kraai (mail address dead) 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 (mail address dead) 2009-07-09 11:47:28 UTC
Created attachment 4410 [details]
Patch
Comment 2 Matthias Dieter Wallnöfer 2009-07-20 02:13:22 UTC
Fixed in branch "master".