PERFORCE change 31783 for review
Dag-Erling Smorgrav
des at FreeBSD.org
Sat May 24 09:33:45 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=31783
Change 31783 by des at des.at.des.thinksec.com on 2003/05/24 09:33:26
Make this build on glibc systems.
Submitted by: Dmitry V. Levin <ldv at altlinux.org>
Affected files ...
.. //depot/projects/openpam/modules/pam_unix/pam_unix.c#4 edit
Differences ...
==== //depot/projects/openpam/modules/pam_unix/pam_unix.c#4 (text+ko) ====
@@ -31,7 +31,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $P4: //depot/projects/openpam/modules/pam_unix/pam_unix.c#3 $
+ * $P4: //depot/projects/openpam/modules/pam_unix/pam_unix.c#4 $
*/
#include <sys/param.h>
@@ -42,6 +42,10 @@
#include <string.h>
#include <unistd.h>
+#ifdef __GLIBC__
+#include <crypt.h>
+#endif
+
#include <security/pam_modules.h>
#include <security/pam_appl.h>
More information about the p4-projects
mailing list