Path: blob/main/astro/openuniverse/files/patch-src_timeb.h
16462 views
--- src/timeb.h.orig 2016-07-26 13:11:57 UTC1+++ src/timeb.h2@@ -0,0 +1,46 @@3+/* Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.4+ This file is part of the GNU C Library.5+6+ The GNU C Library is free software; you can redistribute it and/or7+ modify it under the terms of the GNU Library General Public License as8+ published by the Free Software Foundation; either version 2 of the9+ License, or (at your option) any later version.10+11+ The GNU C Library is distributed in the hope that it will be useful,12+ but WITHOUT ANY WARRANTY; without even the implied warranty of13+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU14+ Library General Public License for more details.15+16+ You should have received a copy of the GNU Library General Public17+ License along with the GNU C Library; see the file COPYING.LIB. If not,18+ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,19+ Boston, MA 02111-1307, USA. */20+21+#ifndef _SYS_TIMEB_H22+#define _SYS_TIMEB_H 123+24+//#include <features.h>25+26+#define __need_time_t27+#include <time.h>28+29+30+__BEGIN_DECLS31+32+/* Structure returned by the `ftime' function. */33+34+struct timeb35+ {36+ time_t time; /* Seconds since epoch, as from `time'. */37+ unsigned short int millitm; /* Additional milliseconds. */38+ short int timezone; /* Minutes west of GMT. */39+ short int dstflag; /* Nonzero if Daylight Savings Time used. */40+ };41+42+/* Fill in TIMEBUF with information about the current time. */43+44+extern int ftime __P ((struct timeb *__timebuf));45+46+__END_DECLS47+48+#endif /* sys/timeb.h */495051