[rtems-libbsd commit] Fix for RTEMS provided <sys/priority.h>

Sebastian Huber sebh at rtems.org
Wed Nov 18 08:24:36 UTC 2015


Module:    rtems-libbsd
Branch:    master
Commit:    eb3b5db04152489a9475757bcf63a43dadd3b910
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=eb3b5db04152489a9475757bcf63a43dadd3b910

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Nov 18 09:23:39 2015 +0100

Fix for RTEMS provided <sys/priority.h>

---

 freebsd/sys/sys/user.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/freebsd/sys/sys/user.h b/freebsd/sys/sys/user.h
index 659a610..72b48f6 100644
--- a/freebsd/sys/sys/user.h
+++ b/freebsd/sys/sys/user.h
@@ -192,7 +192,9 @@ struct kinfo_proc {
 	int	ki_jid;			/* Process jail ID */
 	int	ki_numthreads;		/* XXXKSE number of threads in total */
 	lwpid_t	ki_tid;			/* XXXKSE thread id */
+#ifndef __rtems__
 	struct	priority ki_pri;	/* process priority */
+#endif /* __rtems__ */
 	struct	rusage ki_rusage;	/* process rusage statistics */
 	/* XXX - most fields in ki_rusage_ch are not (yet) filled in */
 	struct	rusage ki_rusage_ch;	/* rusage of children processes */




More information about the vc mailing list