]> granicus.if.org Git - linux-pam/commitdiff
Relevant BUGIDs: 557322
authorAndrew G. Morgan <morgan@kernel.org>
Sun, 26 May 2002 23:00:28 +0000 (23:00 +0000)
committerAndrew G. Morgan <morgan@kernel.org>
Sun, 26 May 2002 23:00:28 +0000 (23:00 +0000)
Purpose of commit: cleanup

Commit summary:
---------------
clean up a compilation warning about strcmp() not being defined.

CHANGELOG
modules/pam_rootok/pam_rootok.c

index 0a006520a5d077190507de32980a06d0819a6028..055f2b7b56da11ecceb3b76034ec77d8583174a8 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -55,6 +55,8 @@ bug report - outstanding bugs are listed here:
 0.76: please submit patches for this section with actual code/doc
       patches!
 
+* pam_rootok: compilation warning noted by Tony den Haan wrt no
+  prototype for strcmp() (Bug 557322 - agmorgan).
 * documentation: (a few of mine in passing) and app documentation
   suggestions regarding PAM environment variables and module
   documentation changes regarding the conversation function from Jenn
index 4d440b03da92ca39d3bbc85d3f208be475fd294b..a7342104dea1535712b82cc3ee6761b583581978 100644 (file)
@@ -12,6 +12,7 @@
 #include <unistd.h>
 #include <syslog.h>
 #include <stdarg.h>
+#include <string.h>
 
 /*
  * here, we make a definition for the externally accessible function