From 4ae2f12b74265884cdd1d370de36e65b89b23f6f Mon Sep 17 00:00:00 2001 From: Daniel Abrecht Date: Fri, 27 Nov 2020 20:38:20 +0100 Subject: [PATCH] Define u_int in libnfs-zdr.h for mingw again The typedef for u_int was removed in 172f46756e7278a42ad78799cf6d8d34602f96bc, assuming that sys/types.h defines it. This doesn't seam to be the case on mingw. --- include/nfsc/libnfs-zdr.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/nfsc/libnfs-zdr.h b/include/nfsc/libnfs-zdr.h index 5f411e4..c03451e 100644 --- a/include/nfsc/libnfs-zdr.h +++ b/include/nfsc/libnfs-zdr.h @@ -92,6 +92,9 @@ struct ZDR { typedef struct ZDR ZDR; +#ifdef __MINGW32__ +typedef uint32_t u_int; +#endif typedef uint32_t enum_t; typedef uint32_t bool_t;