Include <errno.h> to fix build on FreeBSD

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

Description

Include <errno.h> to fix build on FreeBSD

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) {
                         ^

Reviewers: graesslin, bshah

Reviewed By: bshah

Subscribers: plasma-devel

Tags: Plasma on Wayland

Differential Revision: https://phabricator.kde.org/D3289

Details

Committed
tcbernerNov 7 2016, 8:56 AM
Reviewer
bshah
Differential Revision
D3289: Include <errno.h> to fix build on FreeBSD
Parents
R127:038f239a8905: Upgrade ECM and KF5 version requirements for 5.28.0 release.
Branches
Unknown
Tags
Unknown