Skip to content

Commit 839847c

Browse files
committed
CLIENT: Define NETDB_INTERNAL if not already
NETDB_INTERNAL is a glibc quirk and doesnt exist in POSIX
1 parent e904c8a commit 839847c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/sss_client/sss_cli.h

+4
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ typedef int errno_t;
4545
#define EOK 0
4646
#endif
4747

48+
#ifndef NETDB_INTERNAL
49+
#define NETDB_INTERNAL (-1)
50+
#endif
51+
4852
#define SSS_NSS_PROTOCOL_VERSION 1
4953
#define SSS_PAM_PROTOCOL_VERSION 3
5054
#define SSS_SUDO_PROTOCOL_VERSION 1

0 commit comments

Comments
 (0)