Remove needless #include <sys/random.h> from qrandom.cpp
Tripped over by Alexei Fedotov and brought to light on the developer list; Thiago says it's a left-over from before reworking to actually use getentropy() instead of getrandom(); it should no longer be needed. Change-Id: Id09b0628e58fa62170a0f0da35b2b121f3fb0172 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
This commit is contained in:
parent
a060ee2802
commit
4d4c63acba
@ -48,9 +48,7 @@
|
|||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#if QT_CONFIG(getentropy)
|
#if !QT_CONFIG(getentropy) && !defined(Q_OS_BSD4) && !defined(Q_OS_WIN)
|
||||||
# include <sys/random.h>
|
|
||||||
#elif !defined(Q_OS_BSD4) && !defined(Q_OS_WIN)
|
|
||||||
# include "qdeadlinetimer.h"
|
# include "qdeadlinetimer.h"
|
||||||
# include "qhashfunctions.h"
|
# include "qhashfunctions.h"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user