diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-11-16 16:29:36 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-11-16 16:33:57 +0100 |
commit | e2640ef763e1335d0eec590ceaeaa390428cfd51 (patch) | |
tree | 55e21f2a02dba20dc746e68a34d3cc60aab68ded /src/stats.c | |
parent | e08da9757099af3d275c122c9379d46a037eb309 (diff) |
gsm: Use correct include for getrandom
"man getrandom" states sys/random.h is required.
Fixes warning below:
warning: implicit declaration of function ‘getrandom’; did you mean ‘srandom’? [-Wimplicit-function-declaration]
rc = getrandom(out, len, GRND_NONBLOCK);
^~~~~~~~~
Change-Id: I2e73fd018e887893dc5527d6d73644d627eb963a
Diffstat (limited to 'src/stats.c')
0 files changed, 0 insertions, 0 deletions