xrootd
|
00001 // $Id$ 00002 #ifndef __SECPWD_PLATFORM_ 00003 #define __SECPWD_PLATFORM_ 00004 /******************************************************************************/ 00005 /* */ 00006 /* X r d S e c p w d P l a t f o r m. h h */ 00007 /* */ 00008 /* (c) 2005 by the Board of Trustees of the Leland Stanford, Jr., University */ 00009 /* All Rights Reserved */ 00010 /* Produced by Andrew Hanushevsky for Stanford University under contract */ 00011 /* DE-AC03-76-SFO0515 with the Department of Energy */ 00012 /******************************************************************************/ 00013 00014 // 00015 // crypt 00016 // 00017 #if defined(__solaris__) 00018 #include <crypt.h> 00019 #endif 00020 #if defined(__osf__) || defined(__sgi) || defined(__macos__) 00021 extern "C" char *crypt(const char *, const char *); 00022 #endif 00023 00024 // 00025 // shadow passwords 00026 // 00027 #include <grp.h> 00028 // For shadow passwords 00029 #if defined(__solaris__) 00030 #ifndef R__SHADOWPW 00031 #define R__SHADOWPW 00032 #endif 00033 #endif 00034 #ifdef R__SHADOWPW 00035 #include <shadow.h> 00036 #endif 00037 00038 #endif