summaryrefslogtreecommitdiff
path: root/include/bits/timespec.h
blob: ebcacf76f8a02536d1a6d7dc62932b54d334804e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __BITS_TIMESPEC_H
#define __BITS_TIMESPEC_H

#ifndef __BITS_TIMESPEC_H_
#error "Never include <bits/timespec.h> directly; use <time.h> instead."
#endif

typedef __INT64_TYPE__ time_t;

struct timespec {
	time_t tv_sec;
	long tv_nsec;
};

#endif