소스 검색

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 5 년 전
부모
커밋
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 unsigned long u_long, ulong;
 typedef long long quad_t;
 typedef long long quad_t;
 typedef unsigned long long u_quad_t;
 typedef unsigned long long u_quad_t;
+typedef char *caddr_t;
 
 
 #endif /* _SYS_TYPES_H */
 #endif /* _SYS_TYPES_H */