[rtems commit] posix: Include missing <limits.h>
Sebastian Huber
sebh at rtems.org
Wed Oct 11 05:54:21 UTC 2017
Module: rtems
Branch: master
Commit: 157c767868e1d358556adea5ac385d4f1b0a1f23
Changeset: http://git.rtems.org/rtems/commit/?id=157c767868e1d358556adea5ac385d4f1b0a1f23
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Oct 11 07:53:38 2017 +0200
posix: Include missing <limits.h>
---
cpukit/posix/src/mutexinit.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/cpukit/posix/src/mutexinit.c b/cpukit/posix/src/mutexinit.c
index 86b3bd0..2d3857d 100644
--- a/cpukit/posix/src/mutexinit.c
+++ b/cpukit/posix/src/mutexinit.c
@@ -23,6 +23,8 @@
#include <rtems/posix/priorityimpl.h>
#include <rtems/score/schedulerimpl.h>
+#include <limits.h>
+
RTEMS_STATIC_ASSERT(
offsetof( POSIX_Mutex_Control, flags )
== offsetof( pthread_mutex_t, _flags ),
More information about the vc
mailing list