bk: 488fa202VcFe6DqwliAlSYpb49HJaw
AC_DEFINE(HAVE_NO_NICE, 1, [sntp does not care about 'nice'])
AC_DEFINE(HAVE_TERMIOS, 1, [sntp does not care about TTY stuff])
AC_DEFINE(ISC_PLATFORM_HAVEIPV6, 1, [hack])
-
+AC_DEFINE(HAVE_STRUCT_SOCKADDR_STORAGE, 1, [Does a system header define struct sockaddr_storage?])
# Checks for library functions.
-#define VERSION "1.6" /* Just the version string */
#define MAX_SOCKETS 10 /* Maximum number of addresses */
#ifndef LOCKNAME
-#include "networking.h"
-#include "header.h"
-
+#if 0
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
+#endif
-#include <getopt.h>
#include <ntp_stdlib.h>
+#include <sntp-opts.h>
+
+#include "networking.h"
+#include "header.h"
+
#define NTP_PORT 123
int ai_fam_tmpl;
+volatile int debug;
+
int
main (
#include <strings.h> /**/
#include <errno.h> /**/
+#include <ntp_stdlib.h>
+
#include "data_formats.h"
/* FIXME, see portability issue 1 */ /* irrelevant for now */
/* Maximum number of sockets... should be specified in sntp.h later */
#define MAX_AF 2
-
int descriptors[MAX_AF];