Modify tid and pid from int to pid_t
[platform/core/api/resource.git] / include / cpu-boosting-type.h
index be23729..79084ee 100644 (file)
@@ -23,6 +23,8 @@
 #ifndef __TIZEN_SYSTEM_CPU_BOOSTING_TYPE_H__
 #define __TIZEN_SYSTEM_CPU_BOOSTING_TYPE_H__
 
+#include <sys/types.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -36,8 +38,8 @@ typedef enum resource_cpu_boosting_level {
 } cpu_boosting_level_e;
 
 typedef struct resource_pid_info {
-       int pid;
-       int *tid;
+       pid_t pid;
+       pid_t *tid;
        int tid_count;
 } resource_pid_t;