[ntpsec commit] Fix warning on FreeBSD

Hal Murray murray at ntpsec.org
Sun Oct 4 09:24:45 UTC 2015


Module:    ntpsec
Branch:    master
Commit:    cf1ccf5dfc42dd18f8c4ceb342990fd34482de0a
Changeset: http://git.ntpsec.org/ntpsec/commit/?id=cf1ccf5dfc42dd18f8c4ceb342990fd34482de0a

Author:    Hal Murray <hmurray at megapathdsl.net>
Date:      Sun Oct  4 02:22:45 2015 -0700

Fix warning on FreeBSD

---

 libntp/ntp_crypto_rnd.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libntp/ntp_crypto_rnd.c b/libntp/ntp_crypto_rnd.c
index 8002b52..fe7eb67 100644
--- a/libntp/ntp_crypto_rnd.c
+++ b/libntp/ntp_crypto_rnd.c
@@ -12,6 +12,7 @@
 #include <sys/types.h>
 #include <unistd.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <ntp_random.h>
 
 #ifdef USE_OPENSSL_CRYPTO_RAND



More information about the vc mailing list