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

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

typedef __INT64_TYPE__ time_t;

struct timespec {
	time_t tv_sec;
	long tv_nsec;
};

#endif