Import the gethrxtime module from gnulib.

gnulib 9e117ae955a5c6a0406140e62b76c3ef50e3bc2b.

* lib/gethrxtime.c, lib/gethrxtime.h, lib/gettime.c, lib/timespec.c,
lib/timespec.h, lib/xtime.h, m4/clock_time.m4, m4/gethrxtime.m4,
m4/gettime.m4, m4/timespec.m4: New files.
* m4/gnulib-cache.m4, m4/gnulib-comp.m4, lib/Makefile.am: Adjust.
This commit is contained in:
Alexandre Duret-Lutz 2012-10-08 21:59:59 +02:00
parent d7e8684d38
commit 756319739b
13 changed files with 510 additions and 2 deletions

3
lib/timespec.c Normal file
View file

@ -0,0 +1,3 @@
#include <config.h>
#define _GL_TIMESPEC_INLINE _GL_EXTERN_INLINE
#include "timespec.h"