summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2002-05-26 23:00:28 +0000
committerAndrew G. Morgan <morgan@kernel.org>2002-05-26 23:00:28 +0000
commit7b89c0b53be5361615639c5b3a5bf2cbb40f46bc (patch)
treedb633b2812b6c24f86ebe3753ab37d03727f2743
parentaf973ad47adf81e4edb9a92ab540c0613d156fbd (diff)
Relevant BUGIDs: 557322
Purpose of commit: cleanup Commit summary: --------------- clean up a compilation warning about strcmp() not being defined.
-rw-r--r--CHANGELOG2
-rw-r--r--modules/pam_rootok/pam_rootok.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 0a006520..055f2b7b 100644
--- 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
diff --git a/modules/pam_rootok/pam_rootok.c b/modules/pam_rootok/pam_rootok.c
index 4d440b03..a7342104 100644
--- a/modules/pam_rootok/pam_rootok.c
+++ b/modules/pam_rootok/pam_rootok.c
@@ -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