From 3216ce62806a23b4265d375fa913b62adb1a0be9 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Sun, 15 Jan 2006 09:05:45 +0000 Subject: [PATCH] Relevant BUGIDs: bugreport Purpose of commit: bugfix Commit summary: --------------- 2006-01-15 Thorsten Kukuk * modules/pam_echo/pam_echo.c: Define HOST_NAME_MAX if not already defined. --- ChangeLog | 5 +++++ modules/pam_echo/pam_echo.c | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 327f6ff4..2f8ce020 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-01-15 Thorsten Kukuk + + * modules/pam_echo/pam_echo.c: Define HOST_NAME_MAX if not + already defined. + 2006-01-13 Thorsten Kukuk * release version 0.99.3.0 diff --git a/modules/pam_echo/pam_echo.c b/modules/pam_echo/pam_echo.c index d378f917..aa5d9285 100644 --- a/modules/pam_echo/pam_echo.c +++ b/modules/pam_echo/pam_echo.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005 Thorsten Kukuk + * Copyright (c) 2005, 2006 Thorsten Kukuk * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -48,6 +48,10 @@ #include #include +#ifndef HOST_NAME_MAX +#define HOST_NAME_MAX 255 +#endif + #define PAM_SM_ACCOUNT #define PAM_SM_AUTH #define PAM_SM_PASSWORD -- 2.40.0