#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
-
+
+ #include "ntp_machine.h"
#include <stdio.h>
-
#include "ntp_types.h"
#include "ntp_string.h"
+#include "ntp_stdlib.h"
#include "global.h"
#include "md5.h"
-#include "ntp_stdlib.h"
-
-#define BLOCK_OCTETS 16 /* message digest size */
-
/*
* MD5authencrypt - generate MD5 message authenticator
#if !defined _WIN32_WINNT || _WIN32_WINNT < 0x0400
# error Please define _WIN32_WINNT in the project settings/makefile
#endif
+ /*
+ * ANSI C compliance enabled
+ */
+ #define __STDC__ 1
+
+ #ifndef _WINSOCKAPI_
+ #define _WINSOCKAPI_ /* Prevent inclusion of winsock.h in windows.h */
+ #endif
+ #ifndef __RPCASYNC_H__
+ #define __RPCASYNC_H__ /* Skip asynch rpc inclusion */
+ #endif
+
# 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 HAVE_RANDOM
#define MAXHOSTNAMELEN 64
#define AUTOKEY