24 lines
519 B
Diff
24 lines
519 B
Diff
--- src/date.c.orig 2013-09-05 06:07:31.000000000 +0400
|
|
+++ src/date.c 2013-11-05 11:45:24.396200000 +0400
|
|
@@ -54,6 +54,8 @@
|
|
#define SECSPERMIN 60
|
|
#endif /* !defined SECSPERMIN */
|
|
|
|
+#undef OLD_TIME
|
|
+
|
|
extern char ** environ;
|
|
extern char * optarg;
|
|
extern int optind;
|
|
@@ -437,9 +439,11 @@
|
|
#include "netinet/in.h"
|
|
#include "netdb.h"
|
|
#define TSPTYPES
|
|
+#ifndef __CYGWIN__
|
|
#include "protocols/timed.h"
|
|
|
|
extern int logwtmp();
|
|
+#endif
|
|
|
|
#if HAVE_SETTIMEOFDAY == 1
|
|
#define settimeofday(t, tz) (settimeofday)(t)
|