diff options
author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2019-10-07 16:26:02 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2019-10-07 16:26:02 -0400 |
commit | 5735d1c8c9400e1ede403a1abb48b90514a89889 (patch) | |
tree | 0e2ab5309f4c308d9802ede2a8bbb8ab24a10b24 /tirpc | |
parent | 70f71b3f42367bbdcf2396b6632d101f304a2f5f (diff) | |
download | ti-rpc-5735d1c8c9400e1ede403a1abb48b90514a89889.tar.gz |
rpc/types.h: fix musl build
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Don't redefine existing typedef (u_char, u_long, ...) on musl
Fixes:
- http://autobuild.buildroot.net/results/dbc07e383605a84eb19a2fd1899668612212518a
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'tirpc')
-rw-r--r-- | tirpc/rpc/types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tirpc/rpc/types.h b/tirpc/rpc/types.h index f069efa..0153a5c 100644 --- a/tirpc/rpc/types.h +++ b/tirpc/rpc/types.h @@ -66,7 +66,7 @@ typedef int32_t rpc_inline_t; #define mem_free(ptr, bsize) free(ptr) -#if defined __APPLE_CC__ || defined __FreeBSD__ +#if defined __APPLE_CC__ || defined __FreeBSD__ || !defined (__GLIBC__) # define __u_char_defined # define __daddr_t_defined #endif |