diff options
author | Robert Griebl <rgriebl@trolltech.com> | 2009-04-02 20:44:54 (GMT) |
---|---|---|
committer | Robert Griebl <rgriebl@trolltech.com> | 2009-04-02 20:54:30 (GMT) |
commit | d0f2051a8fe7cb44a04b0a540baafd1aeed06092 (patch) | |
tree | bae3c24f83c9ba27da14c06954e7eca2dffa0daa /src/gui/embedded/qwssignalhandler.cpp | |
parent | 3f51c30f030a5517273a62bdd48dfe96c98852ee (diff) | |
download | Qt-d0f2051a8fe7cb44a04b0a540baafd1aeed06092.zip Qt-d0f2051a8fe7cb44a04b0a540baafd1aeed06092.tar.gz Qt-d0f2051a8fe7cb44a04b0a540baafd1aeed06092.tar.bz2 |
Make QWS a bit more OS independent.
Some patches needed to support QWS on non-Linux platforms.
Reviewed-by: Paul Olav Tvete
Reviewed-by: Harald Fernengel
Diffstat (limited to 'src/gui/embedded/qwssignalhandler.cpp')
-rw-r--r-- | src/gui/embedded/qwssignalhandler.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/embedded/qwssignalhandler.cpp b/src/gui/embedded/qwssignalhandler.cpp index 0946fb6..e85bd36 100644 --- a/src/gui/embedded/qwssignalhandler.cpp +++ b/src/gui/embedded/qwssignalhandler.cpp @@ -44,8 +44,10 @@ #ifndef QT_NO_QWS_SIGNALHANDLER #include <sys/types.h> -#include <sys/ipc.h> -#include <sys/sem.h> +#ifndef QT_NO_QWS_MULTIPROCESS +# include <sys/ipc.h> +# include <sys/sem.h> +#endif #include <signal.h> QT_BEGIN_NAMESPACE |