fix compilation on OpenBSD
This commit is contained in:
parent
dfc253bebf
commit
94706763e5
5 changed files with 26 additions and 7 deletions
|
|
@ -1,8 +1,8 @@
|
|||
#ifndef CLOCK_NANOSLEEP_H
|
||||
#define CLOCK_NANOSLEEP_H
|
||||
|
||||
#ifndef CLOCKID_T
|
||||
#define CLOCKID_T
|
||||
#ifndef _CLOCK_T_DEFINED_
|
||||
#define _CLOCK_T_DEFINED_
|
||||
typedef enum
|
||||
{
|
||||
CLOCK_REALTIME,
|
||||
|
|
@ -10,7 +10,7 @@ typedef enum
|
|||
CLOCK_PROCESS_CPUTIME_ID,
|
||||
CLOCK_THREAD_CPUTIME_ID
|
||||
} clockid_t;
|
||||
#endif // CLOCKID_T
|
||||
#endif // _CLOCK_T_DEFINED_
|
||||
|
||||
#ifndef TIMER_ABSTIME
|
||||
#define TIMER_ABSTIME 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue