Opened 20 years ago

Closed 20 years ago

Last modified 19 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@…> 20 years ago.

Download all attachments as: .zip

Change History (2)

by Stefan Frank <sfr@…>, 20 years ago

Attachment: t.t added

comment:1 by jdonavan, 20 years ago

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.