[mythtv-commits] Ticket #44: missing #include <cerrno> in
programs/mythbackend/main.cpp?
MythTV
mythtv at cvs.mythtv.org
Sun Jul 3 04:03:30 EDT 2005
#44: missing #include <cerrno> in programs/mythbackend/main.cpp?
--------------------+-------------------------------------------------------
Id: 44 | Status: new
Component: mythtv | Modified: Sun Jul 3 08:03:30 2005
Severity: medium | Milestone:
Priority: minor | Version: head
Owner: ijr | Reporter: Stefan Frank <sfr at gmx.net>
--------------------+-------------------------------------------------------
Got this error during compilation of latest svn:
main.cpp: In function 'int log_rotate(int)':
main.cpp:197: error: 'errno' was not declared in this scope
main.cpp:197: error: 'EINTR' was not declared in this scope
main.cpp:198: error: 'errno' was not declared in this scope
main.cpp:198: error: 'EINTR' was not declared in this scope
main.cpp:199: error: 'errno' was not declared in this scope
main.cpp:199: error: 'EINTR' was not declared in this scope
Adding #include <cerrno> to main.cpp fixes this. I'm using Debian unstable
and gcc-4.0.
Bye, Stefan
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/44>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list