#ifndef __NLLIBC_TIME_H_INCLUDED__
#define __NLLIBC_TIME_H_INCLUDED__

#include <sys/types.h>

#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__APPLE__)
typedef long time_t;
#endif

#if defined(__linux__)
typedef long time_t;
#endif

#ifdef WIN32
typedef int64_t time_t;
#endif

time_t time(time_t *tloc);

#endif
