[rtems-libbsd commit] Make <sys/proc.h> self-sufficient
Sebastian Huber
sebh at rtems.org
Mon Oct 24 06:14:18 UTC 2016
Module: rtems-libbsd
Branch: master
Commit: 7eb064cda1a48dffba306792422f26e924102153
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=7eb064cda1a48dffba306792422f26e924102153
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Oct 24 08:06:27 2016 +0200
Make <sys/proc.h> self-sufficient
---
freebsd/sys/sys/proc.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/freebsd/sys/sys/proc.h b/freebsd/sys/sys/proc.h
index 1593eb2..e866552 100644
--- a/freebsd/sys/sys/proc.h
+++ b/freebsd/sys/sys/proc.h
@@ -196,6 +196,8 @@ struct rusage_ext {
uint64_t rux_tu; /* (c) Previous total time in usec. */
};
#ifdef __rtems__
+#include <errno.h>
+
enum thread_sq_states {
TD_SQ_WAKEUP,
TD_SQ_PANIC = EWOULDBLOCK,
More information about the vc
mailing list