summaryrefslogtreecommitdiffstats
path: root/sss_client/sss_cli.h
diff options
context:
space:
mode:
Diffstat (limited to 'sss_client/sss_cli.h')
-rw-r--r--sss_client/sss_cli.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sss_client/sss_cli.h b/sss_client/sss_cli.h
index f1ccba9f2..7e0d4dbdc 100644
--- a/sss_client/sss_cli.h
+++ b/sss_client/sss_cli.h
@@ -15,6 +15,11 @@
#include <pwd.h>
#include <grp.h>
+#ifndef HAVE_ERRNO_T
+#define HAVE_ERRNO_T
+typedef int errno_t;
+#endif
+
#define SSS_NSS_PROTOCOL_VERSION 1
#define SSS_PAM_PROTOCOL_VERSION 2