summaryrefslogtreecommitdiff
path: root/package/openntpd/patches/patch-defines_h
blob: 9e2b35bf11fbf65b89e16ccfc2e1b79b2526d4c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$Id$

	part of the "adjtime-linux" patch

--- openntpd-3.9p1.orig/defines.h	2006-05-14 05:29:21.000000000 +0000
+++ openntpd-3.9p1/defines.h	2007-01-28 20:49:48.000000000 +0000
@@ -20,6 +20,10 @@
 # define setproctitle(x)
 #endif
 
+#ifdef USE_ADJTIMEX
+# define adjtime(a,b)	(_compat_adjtime((a),(b)))
+#endif
+
 #if !defined(SA_LEN)
 # if defined(HAVE_STRUCT_SOCKADDR_SA_LEN)
 #  define SA_LEN(x)	((x)->sa_len)