From d3ce4fa7931f1a69fb3f6bd759a864db09ebbdc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= <francois.andriot@free.fr>
Date: Sun, 12 Oct 2014 20:00:56 +0200
Subject: Fix FTBFS due to linux specific headers

---
 kdesktop/lock/lockprocess.cc | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'kdesktop/lock')

diff --git a/kdesktop/lock/lockprocess.cc b/kdesktop/lock/lockprocess.cc
index 773a0710a..ff820f0f4 100644
--- a/kdesktop/lock/lockprocess.cc
+++ b/kdesktop/lock/lockprocess.cc
@@ -79,7 +79,9 @@
 
 #include <kcrash.h>
 
+#ifdef __Linux__
 #include <linux/stat.h>
+#endif
 
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
-- 
cgit v1.2.1