Define MD5 and associated random functions.
SetSystemTime.c:
Including ntp_stdlib.h fixes a warning.
Corrected constant declaration.
Fixes from Carl Byington
bk: 38b237d64r0bw5YsYcRLuinsw3aI0A
# undef OPEN_BCAST_SOCKET /* for ntp_io.c */
# undef UDP_WILDCARD_DELIVERY /* for ntp_io.c */ /* 98/06/01 */
# undef DES /* from libntp.mak */
-//# define MD5 /* from libntp.mak */
+# define MD5 /* from libntp.mak */
+# define HAVE_RANDOM
+# define random rand
+# define srandom srand
# define MCAST /* Enable Multicast Support */
# define REFCLOCK /* from ntpd.mak */
#include "clockstuff.h"
+#include "ntp_stdlib.h"
-char * set_tod_using = "SetSystemTime";
+const char * set_tod_using = "SetSystemTime";
int
ntp_set_tod(