mirror of
https://git.freebsd.org/ports.git
synced 2025-06-12 16:20:33 -04:00
libnfs was redefining u_int, causing programs using libnfs to get "error: redefinition of typedef 'u_int' is a C11 feature" errors. Upstream PR: https://github.com/sahlberg/libnfs/pull/326 PR: 248296 Approved by: Shannon Noe <snoe925@gmail.com> (maintainer)
10 lines
228 B
C
10 lines
228 B
C
--- include/nfsc/libnfs-zdr.h.orig 2020-07-26 21:16:08 UTC
|
|
+++ include/nfsc/libnfs-zdr.h
|
|
@@ -92,7 +92,6 @@ struct ZDR {
|
|
typedef struct ZDR ZDR;
|
|
|
|
|
|
-typedef uint32_t u_int;
|
|
typedef uint32_t enum_t;
|
|
typedef uint32_t bool_t;
|
|
|