From 4c94dfac00e7360f002dde3198abb5b350d2cae7 Mon Sep 17 00:00:00 2001 From: oddcoder Date: Fri, 22 May 2020 21:54:42 +0200 Subject: [PATCH] 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 :( --- include/sys/types.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/sys/types.h b/include/sys/types.h index 270a43e46a..19cf76bb78 100644 --- a/include/sys/types.h +++ b/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 */