QXcbWindow: fix build: getpid() is <unistd.h>
Pick-to: 6.9 Change-Id: I3494ac2ce660faa49b72fffdc3b9fbb13df0372d Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
This commit is contained in:
parent
ef7e5ea616
commit
ecfa7406f1
@ -41,6 +41,7 @@
|
|||||||
#include <qpa/qwindowsysteminterface.h>
|
#include <qpa/qwindowsysteminterface.h>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
#if QT_CONFIG(xcb_xlib)
|
#if QT_CONFIG(xcb_xlib)
|
||||||
#define register /* C++17 deprecated register */
|
#define register /* C++17 deprecated register */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user