Opened 19 years ago
Closed 19 years ago
Last modified 17 years ago
#44 closed patch (fixed)
missing #include <cerrno> in programs/mythbackend/main.cpp?
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
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
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
(In [6765]) Include cerrno so that folks on debian can compile.
This closes #44, and #33