]> git.notmuchmail.org Git - apitrace/commit
Fix compile error "isatty was not declared"; missing unistd.h include
authorMartin Olsson <martin@minimum.se>
Mon, 26 Mar 2012 08:40:45 +0000 (10:40 +0200)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Thu, 29 Mar 2012 06:41:51 +0000 (07:41 +0100)
commitbdd9281dd964c36ac94ef3a9fd5d4f7dd24a3d06
treecadb0085360c34eb03b695e61d1ffbd9bd86a7fd
parent126f64b9a44bfa5432c30a48f13dfa98f4a1a9f4
Fix compile error "isatty was not declared"; missing unistd.h include

When I built apitrace on Fedora 16, using the usual:

cmake -H. -Bbuild
make -C build

...then I got this compile error:

apitrace/cli/cli_dump.cpp: In function ‘int command(int, char**)’:
apitrace/cli/cli_dump.cpp:176:25: error: ‘isatty’ was not declared in this scope
cli/cli_dump.cpp