瀏覽代碼

change: move def. of pid_t to gblibc

greatbridf 2 年之前
父節點
當前提交
533155f3ad
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      include/kernel/process.hpp

+ 1 - 2
include/kernel/process.hpp

@@ -8,6 +8,7 @@
 #include <kernel/task.h>
 #include <kernel/vfs.hpp>
 #include <stdint.h>
+#include <sys/types.h>
 #include <types/allocator.hpp>
 #include <types/cplusplus.hpp>
 #include <types/hash_map.hpp>
@@ -18,8 +19,6 @@
 #include <types/string.hpp>
 #include <types/types.h>
 
-typedef size_t pid_t;
-
 class process;
 struct thread;