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
|
||||
#include <QtNetwork/private/qnetworkaccessmanager_p.h>
|
||||
#endif
|
||||
|
||||
#ifdef Q_OS_UNIX
|
||||
# include <sys/types.h>
|
||||
# include <unistd.h> // for getuid()
|
||||
#endif
|
||||
#include <time.h>
|
||||
|
||||
#include "../../../network-settings.h"
|
||||
|
@ -50,6 +50,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/un.h>
|
||||
#include <unistd.h> // for unlink()
|
||||
#endif
|
||||
|
||||
Q_DECLARE_METATYPE(QLocalSocket::LocalSocketError)
|
||||
|
Loading…
Reference in New Issue
Block a user