Include <errno.h> to fix build on FreeBSD
ClosedPublic

Authored by tcberner on Nov 7 2016, 8:42 AM.

Details

Summary

/wrkdirs/usr/ports/x11/kf5-kwayland/work/kwayland-5.28.0/src/client/plasmawindowmanagement.cpp:489:25: error: use of undeclared identifier 'errno'

if (n == -1 && (errno == EAGAIN) && ++retryCount < 1000) {
                ^

/wrkdirs/usr/ports/x11/kf5-kwayland/work/kwayland-5.28.0/src/client/plasmawindowmanagement.cpp:489:34: error: use of undeclared identifier 'EAGAIN'

if (n == -1 && (errno == EAGAIN) && ++retryCount < 1000) {
                         ^

Diff Detail

Repository
R127 KWayland
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
tcberner updated this revision to Diff 7952.Nov 7 2016, 8:42 AM
tcberner retitled this revision from to Include <errno.h> to fix build on FreeBSD.
tcberner updated this object.
tcberner edited the test plan for this revision. (Show Details)
tcberner added a reviewer: graesslin.
Restricted Application added a project: Plasma on Wayland. · View Herald TranscriptNov 7 2016, 8:42 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
bshah accepted this revision.Nov 7 2016, 8:48 AM
bshah added a reviewer: bshah.
This revision is now accepted and ready to land.Nov 7 2016, 8:48 AM
This revision was automatically updated to reflect the committed changes.