compile fix: missing #include <unistd.h>s
Change-Id: I3bd34f67033fb921c49da97419c107811d8da6ff Reviewed-by: David Faure <faure@kde.org>
This commit is contained in:
parent
88b69ab0c4
commit
8d10d9a444
@ -79,6 +79,11 @@
|
|||||||
#ifdef QT_BUILD_INTERNAL
|
#ifdef QT_BUILD_INTERNAL
|
||||||
#include <QtNetwork/private/qnetworkaccessmanager_p.h>
|
#include <QtNetwork/private/qnetworkaccessmanager_p.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef Q_OS_UNIX
|
||||||
|
# include <sys/types.h>
|
||||||
|
# include <unistd.h> // for getuid()
|
||||||
|
#endif
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
#include "../../../network-settings.h"
|
#include "../../../network-settings.h"
|
||||||
|
@ -50,6 +50,7 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <sys/un.h>
|
#include <sys/un.h>
|
||||||
|
#include <unistd.h> // for unlink()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(QLocalSocket::LocalSocketError)
|
Q_DECLARE_METATYPE(QLocalSocket::LocalSocketError)
|
||||||
|
Loading…
Reference in New Issue
Block a user