1
0

patch-defines_h 413 B

1234567891011121314151617
  1. $Id$
  2. part of the "adjtime-linux" patch
  3. --- openntpd-3.9p1.orig/defines.h 2006-05-14 05:29:21.000000000 +0000
  4. +++ openntpd-3.9p1/defines.h 2007-01-28 20:49:48.000000000 +0000
  5. @@ -20,6 +20,10 @@
  6. # define setproctitle(x)
  7. #endif
  8. +#ifdef USE_ADJTIMEX
  9. +# define adjtime(a,b) (_compat_adjtime((a),(b)))
  10. +#endif
  11. +
  12. #if !defined(SA_LEN)
  13. # if defined(HAVE_STRUCT_SOCKADDR_SA_LEN)
  14. # define SA_LEN(x) ((x)->sa_len)