diff options
Diffstat (limited to 'kdesktop')
-rw-r--r-- | kdesktop/CMakeLists.txt | 2 | ||||
-rw-r--r-- | kdesktop/lock/lockprocess.cc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/kdesktop/CMakeLists.txt b/kdesktop/CMakeLists.txt index 80ea9c21a..743a3453e 100644 --- a/kdesktop/CMakeLists.txt +++ b/kdesktop/CMakeLists.txt @@ -97,7 +97,7 @@ tde_add_tdeinit_executable( ${target} AUTOMOC LINK kdesktopsettings-static bgnd-static dmctl-static konq-shared tdeutils-shared - ${XRENDER_LIBRARIES} ${XCURSOR_LIBRARIES} Xext dl + ${XRENDER_LIBRARIES} ${XCURSOR_LIBRARIES} Xext ${DL_LIBRARIES} ${XSS_LIBRARIES} ${DBUS_1_TQT_LIBRARIES} ) diff --git a/kdesktop/lock/lockprocess.cc b/kdesktop/lock/lockprocess.cc index 773a0710a..1de0b6753 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> |