#ifndef PRIVATE_H
#define PRIVATE_H
#ifndef TM_GMTOFF
#define TM_GMTOFF tm_gmtoff
#define TM_ZONE tm_zone
#define STD_INSPIRED 1
#define PCTS 1
#define HAVE_LONG_DOUBLE 1
#define HAVE_STRERROR 1
#define HAVE_UNISTD_H 1
#define LOCALE_HOME _PATH_LOCALE
#define TZDIR "/usr/share/zoneinfo"
#endif
#ifndef lint
#ifndef NOID
#endif
#endif
#ifndef HAVE_ADJTIME
#define HAVE_ADJTIME 1
#endif
#ifndef HAVE_GETTEXT
#define HAVE_GETTEXT 0
#endif
#ifndef HAVE_INCOMPATIBLE_CTIME_R
#define HAVE_INCOMPATIBLE_CTIME_R 0
#endif
#ifndef HAVE_SETTIMEOFDAY
#define HAVE_SETTIMEOFDAY 3
#endif
#ifndef HAVE_STRERROR
#define HAVE_STRERROR 1
#endif
#ifndef HAVE_SYMLINK
#define HAVE_SYMLINK 1
#endif
#ifndef HAVE_SYS_STAT_H
#define HAVE_SYS_STAT_H 1
#endif
#ifndef HAVE_SYS_WAIT_H
#define HAVE_SYS_WAIT_H 1
#endif
#ifndef HAVE_UNISTD_H
#define HAVE_UNISTD_H 1
#endif
#ifndef HAVE_UTMPX_H
#define HAVE_UTMPX_H 0
#endif
#ifndef LOCALE_HOME
#define LOCALE_HOME "/usr/lib/locale"
#endif
#if HAVE_INCOMPATIBLE_CTIME_R
#define asctime_r _incompatible_asctime_r
#define ctime_r _incompatible_ctime_r
#endif
#include "sys/types.h"
#include "stdio.h"
#include "errno.h"
#include "string.h"
#include "limits.h"
#include "time.h"
#include "stdlib.h"
#if HAVE_GETTEXT - 0
#include "libintl.h"
#endif
#if HAVE_SYS_WAIT_H - 0
#include <sys/wait.h>
#endif
#ifndef WIFEXITED
#define WIFEXITED(status) (((status) & 0xff) == 0)
#endif
#ifndef WEXITSTATUS
#define WEXITSTATUS(status) (((status) >> 8) & 0xff)
#endif
#if HAVE_UNISTD_H - 0
#include "unistd.h"
#endif
#if !(HAVE_UNISTD_H - 0)
#ifndef F_OK
#define F_OK 0
#endif
#ifndef R_OK
#define R_OK 4
#endif
#endif
#define is_digit(c) ((unsigned)(c) - '0' <= 9)
#ifndef FILENAME_MAX
#ifndef MAXPATHLEN
#ifdef unix
#include "sys/param.h"
#endif
#endif
#ifdef MAXPATHLEN
#define FILENAME_MAX MAXPATHLEN
#endif
#ifndef MAXPATHLEN
#define FILENAME_MAX 1024
#endif
#endif
char * icalloc(int nelem, int elsize);
char * icatalloc(char * old, const char * new);
char * icpyalloc(const char * string);
char * imalloc(int n);
void * irealloc(void * pointer, int size);
void icfree(char * pointer);
void ifree(char * pointer);
char * scheck(const char *string, const char *format);
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
#ifndef TYPE_BIT
#define TYPE_BIT(type) (sizeof (type) * CHAR_BIT)
#endif
#ifndef TYPE_SIGNED
#define TYPE_SIGNED(type) (((type) -1) < 0)
#endif
#ifndef INT_STRLEN_MAXIMUM
#define INT_STRLEN_MAXIMUM(type) \
((TYPE_BIT(type) - TYPE_SIGNED(type)) * 302 / 1000 + 1 + TYPE_SIGNED(type))
#endif
#ifndef GNUC_or_lint
#ifdef lint
#define GNUC_or_lint
#endif
#ifndef lint
#ifdef __GNUC__
#define GNUC_or_lint
#endif
#endif
#endif
#ifndef INITIALIZE
#ifdef GNUC_or_lint
#define INITIALIZE(x) ((x) = 0)
#endif
#ifndef GNUC_or_lint
#define INITIALIZE(x)
#endif
#endif
#ifndef _
#if HAVE_GETTEXT - 0
#define _(msgid) gettext(msgid)
#else
#define _(msgid) msgid
#endif
#endif
#ifndef TZ_DOMAIN
#define TZ_DOMAIN "tz"
#endif
#if HAVE_INCOMPATIBLE_CTIME_R
#undef asctime_r
#undef ctime_r
char *asctime_r(struct tm const *, char *);
char *ctime_r(time_t const *, char *);
#endif
#endif