lib: tmonitor: Include mandatory header file for variable types 32/272632/2
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 22 Mar 2022 05:53:22 +0000 (14:53 +0900)
committerDongwoo Lee <dwoo08.lee@samsung.com>
Tue, 22 Mar 2022 05:31:21 +0000 (14:31 +0900)
When the client refer to tmonitor.h header file, build error happen
because tmonitor.h doesn't include the 'sys/type.h' header file.
So that include mandatory header file for variable types such as u_int64_t.

Change-Id: I3b69e5a95e644ccc160da8aa2583674c91f3725e
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
lib/tmonitor/tmonitor.h

index 5cda25d996dcc74ab66763cb08d2cd8d8f370258..224a1863d6ca49bac59822a73c32f75dd7124cb4 100644 (file)
@@ -21,6 +21,7 @@
 
 #include <stdio.h>
 #include <stdbool.h>
+#include <sys/types.h>
 
 #ifdef __cplusplus
 extern "C" {