Skip to content

Commit be167ec

Browse files
committed
CLIENT: Define NETDB_INTERNAL if not already
NETDB_INTERNAL is a glibc quirk and doesnt exist in POSIX
1 parent 361bf3a commit be167ec

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/sss_client/sss_cli.h

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

48+
#ifndef NETDB_INTERNAL
49+
#define NETDB_INTERNAL (-1)
50+
#endif
51+
52+
#ifndef NETDB_SUCCESS
53+
#define NETDB_SUCCESS (0)
54+
#endif
55+
4856
#define SSS_NSS_PROTOCOL_VERSION 1
4957
#define SSS_PAM_PROTOCOL_VERSION 3
5058
#define SSS_SUDO_PROTOCOL_VERSION 1

0 commit comments

Comments
 (0)