deal with zic that's not part of libc.

This commit is contained in:
christos 2019-04-04 22:03:23 +00:00
parent 95f5209749
commit 0fdca23e1e
1 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
/* Private header for tzdb code. */
/* $NetBSD: private.h,v 1.54 2019/04/04 19:27:28 christos Exp $ */
/* $NetBSD: private.h,v 1.55 2019/04/04 22:03:23 christos Exp $ */
#ifndef PRIVATE_H
#define PRIVATE_H
@ -16,8 +16,6 @@
#include "nbtool_config.h"
#endif
#include "reentrant.h"
/*
** This file is in the public domain, so clarified as of
** 1996-06-05 by Arthur David Olson.
@ -779,6 +777,8 @@ char *ctime_r(time_t const *, char *);
((int_fast64_t) YEARSPERREPEAT * (int_fast64_t) AVGSECSPERYEAR)
#define SECSPERREPEAT_BITS 34 /* ceil(log2(SECSPERREPEAT)) */
#ifdef _LIBC
#include "reentrant.h"
extern struct __state *__lclptr;
#if defined(__LIBC12_SOURCE__)
#define tzset_unlocked __tzset_unlocked
@ -790,5 +790,6 @@ void tzset_unlocked(void);
#ifdef _REENTRANT
extern rwlock_t __lcl_lock;
#endif
#endif
#endif /* !defined PRIVATE_H */