Don't assume someone else pulls in errno.h
ClosedPublic

Authored by adridg on Dec 22 2018, 3:18 PM.

Details

Summary

This fixes compile error on FreeBSD 11:

[ 5%] Building CXX object src/CMakeFiles/kaffeine.dir/dvb/dvbrecording.cpp.o
/home/adridg/src/kde/kaffeine/src/dvb/dvbrecording.cpp:817:86: error: use of

    undeclared identifier 'errno'
..."Cannot open file %s. Error: %d", qPrintable(file.fileName()), errno);

Diff Detail

Repository
R466 Kaffeine
Branch
fix-freebsd-build
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 6260
Build 6278: arc lint + arc unit
adridg requested review of this revision.Dec 22 2018, 3:18 PM
adridg created this revision.
pino accepted this revision.Dec 22 2018, 3:28 PM
This revision is now accepted and ready to land.Dec 22 2018, 3:28 PM
mauroc accepted this revision.Dec 22 2018, 3:38 PM

Yeah, clearly, the file lacks an include <errno.h>. Feel free to commit it.

This revision was automatically updated to reflect the committed changes.