summaryrefslogtreecommitdiff
path: root/sysdeps/unix
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/solaris2/kopensolaris-gnu/_getprofnam.c2
-rw-r--r--sysdeps/unix/sysv/solaris2/kopensolaris-gnu/_getusernam.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/_getprofnam.c b/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/_getprofnam.c
index a9effed552..02f9dabc47 100644
--- a/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/_getprofnam.c
+++ b/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/_getprofnam.c
@@ -26,6 +26,8 @@
#define ADD_VARIABLES name
#define BUFLEN NSS_BUFLEN_PROFATTR
+//TODO: error: ‘__nss_not_use_nscd_prof_attr’
+#undef USE_NSCD
#include <nss/getXXbyYY_r.c>
extern int getprofnam_r (const char *, profstr_t *, char *, size_t,
diff --git a/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/_getusernam.c b/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/_getusernam.c
index f1ffe85f65..1a1fae1626 100644
--- a/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/_getusernam.c
+++ b/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/_getusernam.c
@@ -26,6 +26,8 @@
#define ADD_VARIABLES name
#define BUFLEN NSS_BUFLEN_USERATTR
+// TODO: error: ‘__nss_not_use_nscd_user_attr’ undeclared
+#undef USE_NSCD
#include <nss/getXXbyYY_r.c>
extern int getusernam_r (const char *, userstr_t *, char *, size_t,