Make <sys/proc.h> self-sufficient

This commit is contained in:
Sebastian Huber 2016-10-24 08:06:27 +02:00
parent 390e1330cf
commit 7eb064cda1

View File

@ -196,6 +196,8 @@ struct rusage_ext {
uint64_t rux_tu; /* (c) Previous total time in usec. */ uint64_t rux_tu; /* (c) Previous total time in usec. */
}; };
#ifdef __rtems__ #ifdef __rtems__
#include <errno.h>
enum thread_sq_states { enum thread_sq_states {
TD_SQ_WAKEUP, TD_SQ_WAKEUP,
TD_SQ_PANIC = EWOULDBLOCK, TD_SQ_PANIC = EWOULDBLOCK,