File webmonx-0.3.3-gcc47.patch of Package webmonx
Description: Fix compilation with GCC 4.7. Author: Kyrill Detinov <lazy.kent@opensuse.org> Index: src/core/Settings.cpp =================================================================== --- src/core/Settings.cpp.orig +++ src/core/Settings.cpp @@ -36,6 +36,7 @@ #if defined Q_WS_X11 #include <QFile> #include <QProcess> + #include <unistd.h> #elif defined Q_WS_WIN #include <windows.h> #endif