* echo off means password.
*/
static int PAM_conv (int num_msg,
+#ifdef LINUX
+ const struct pam_message **msg,
+#else
struct pam_message **msg,
+#endif
struct pam_response **resp,
void *appdata_ptr _U_) {
int count = 0;
* echo off means password.
*/
static int PAM_conv (int num_msg,
+#ifdef LINUX
+ const struct pam_message **msg,
+#else
struct pam_message **msg,
+#endif
struct pam_response **resp,
void *appdata_ptr _U_) {
int count = 0;
* echo off means password.
*/
static int PAM_conv (int num_msg,
+#ifdef LINUX
+ const struct pam_message **msg,
+#else
struct pam_message **msg,
+#endif
struct pam_response **resp,
void *appdata_ptr _U_)
{
dnl ----- Linux specific -----
if test x"$this_os" = "xlinux"; then
AC_MSG_RESULT([ * Linux specific configuration])
-
+ AC_DEFINE(LINUX, 1, [OS is Linux])
dnl ----- check if we need the quotactl wrapper
AC_CHECK_HEADERS(linux/dqblk_xfs.h,,
[AC_CHECK_HEADERS(linux/xqm.h linux/xfs_fs.h)