pid_t is defined in sys/types.h

Summary: To use pid_t one should include sys/types.h -- else the build fails on FreeBSD.

Reviewers: graesslin

Reviewed By: graesslin

Subscribers: plasma-devel

Projects: #plasma

Differential Revision: https://phabricator.kde.org/D1579
This commit is contained in:
Tobias C. Berner 2016-05-09 21:26:12 +02:00
parent 3e6bc3621b
commit f790973375

View file

@ -20,6 +20,8 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
#ifndef KWAYLAND_SERVER_CLIENTCONNECTION_H #ifndef KWAYLAND_SERVER_CLIENTCONNECTION_H
#define KWAYLAND_SERVER_CLIENTCONNECTION_H #define KWAYLAND_SERVER_CLIENTCONNECTION_H
#include <sys/types.h>
#include <QObject> #include <QObject>
#include <KWayland/Server/kwaylandserver_export.h> #include <KWayland/Server/kwaylandserver_export.h>