Browse Source

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 years ago
parent
commit
4c94dfac00
1 changed files with 1 additions and 0 deletions
  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 */