summaryrefslogtreecommitdiff
path: root/lib/nss_wrapper
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-05-04 14:57:37 -0700
committerJeremy Allison <jra@samba.org>2011-05-05 00:59:40 +0200
commit1c714850d5068864b1f04a4211223dec11a30d67 (patch)
treeb890a5ba8a0f900f667ce79210ac0a4593f02642 /lib/nss_wrapper
parentff215f5c89c91a22c910400c8ac81d82d7459ba0 (diff)
downloadsamba-1c714850d5068864b1f04a4211223dec11a30d67.tar.gz
samba-1c714850d5068864b1f04a4211223dec11a30d67.tar.bz2
samba-1c714850d5068864b1f04a4211223dec11a30d67.zip
Clean up some const and other compiler warnings.
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu May 5 00:59:40 CEST 2011 on sn-devel-104
Diffstat (limited to 'lib/nss_wrapper')
-rw-r--r--lib/nss_wrapper/nss_wrapper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/nss_wrapper/nss_wrapper.c b/lib/nss_wrapper/nss_wrapper.c
index cfa5a68712..8767fbfd89 100644
--- a/lib/nss_wrapper/nss_wrapper.c
+++ b/lib/nss_wrapper/nss_wrapper.c
@@ -36,7 +36,9 @@
/* defining this gives us the posix getpwnam_r() calls on solaris
Thanks to heimdal for this */
+#ifndef _POSIX_PTHREAD_SEMANTICS
#define _POSIX_PTHREAD_SEMANTICS
+#endif
#define NSS_WRAPPER_NOT_REPLACE
#include "../replace/replace.h"