aboutsummaryrefslogtreecommitdiff
path: root/src/platform
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-01-18 11:26:12 -0800
committerGarrett D'Amore <garrett@damore.org>2017-01-18 11:26:12 -0800
commita1bfa3de91d6fa6134e2d13777ccec2ddf73d1fc (patch)
tree390ee6a063f78fdd4e4a661055ab3fc64f35c04c /src/platform
parent7a9c328c4fd29fa7ba3dce8c8189384cd855d244 (diff)
downloadnng-a1bfa3de91d6fa6134e2d13777ccec2ddf73d1fc.tar.gz
nng-a1bfa3de91d6fa6134e2d13777ccec2ddf73d1fc.tar.bz2
nng-a1bfa3de91d6fa6134e2d13777ccec2ddf73d1fc.zip
Reaper exits too soon, leaking bits.
Diffstat (limited to 'src/platform')
-rw-r--r--src/platform/posix/posix_rand.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/platform/posix/posix_rand.c b/src/platform/posix/posix_rand.c
index f8986e07..11d166bd 100644
--- a/src/platform/posix/posix_rand.c
+++ b/src/platform/posix/posix_rand.c
@@ -19,6 +19,7 @@
#include <unistd.h>
#include <sys/utsname.h>
#include <fcntl.h>
+#include <string.h>
#ifdef NNG_USE_GETRANDOM
#include <linux/random.h>