瀏覽代碼

Add type definition for caddr_t

Normally one shouldn't be using this datatype ever, but then someone
have to tell that to gcc folks :(
oddcoder 4 年之前
父節點
當前提交
4c94dfac00
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/sys/types.h

+ 1 - 0
include/sys/types.h

@@ -30,5 +30,6 @@ typedef unsigned int u_int, uint;
 typedef unsigned long u_long, ulong;
 typedef long long quad_t;
 typedef unsigned long long u_quad_t;
+typedef char *caddr_t;
 
 #endif /* _SYS_TYPES_H */