Opened 14 years ago

Closed 14 years ago

Last modified 12 years ago

#44 closed patch (fixed)

missing #include <cerrno> in programs/mythbackend/main.cpp?

Reported by: Stefan Frank <sfr@…> 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)

t.t (364 bytes) - added by Stefan Frank <sfr@…> 14 years ago.

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by Stefan Frank <sfr@…>

Attachment: t.t added

comment:1 Changed 14 years ago by jdonavan

Resolution: fixed
Status: newclosed

(In [6765]) Include cerrno so that folks on debian can compile.

This closes #44, and #33

Note: See TracTickets for help on using tickets.