[rtems commit] getgrent.c, record-client.c: Add missing includes for assert.h

Vijay Kumar Banerjee vijay at rtems.org
Sat Feb 27 15:54:52 UTC 2021


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

Author:    Vijay Kumar Banerjee <vijay at rtems.org>
Date:      Fri Feb 26 23:09:01 2021 -0700

getgrent.c, record-client.c: Add missing includes for assert.h

---

 cpukit/libcsupport/src/getgrent.c      | 1 +
 cpukit/libtrace/record/record-client.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/cpukit/libcsupport/src/getgrent.c b/cpukit/libcsupport/src/getgrent.c
index de56430..d4d3705 100644
--- a/cpukit/libcsupport/src/getgrent.c
+++ b/cpukit/libcsupport/src/getgrent.c
@@ -26,6 +26,7 @@
 
 #include <stdlib.h>
 #include <pthread.h>
+#include <rtems/score/assert.h>
 
 typedef struct {
   FILE *fp;
diff --git a/cpukit/libtrace/record/record-client.c b/cpukit/libtrace/record/record-client.c
index 975e3a7..f81fb0a 100644
--- a/cpukit/libtrace/record/record-client.c
+++ b/cpukit/libtrace/record/record-client.c
@@ -38,6 +38,7 @@
 
 #include <stdlib.h>
 #include <string.h>
+#include <rtems/score/assert.h>
 
 #define TIME_MASK ( ( UINT32_C( 1 ) << RTEMS_RECORD_TIME_BITS ) - 1 )
 



More information about the vc mailing list