From 3216ce62806a23b4265d375fa913b62adb1a0be9 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Sun, 15 Jan 2006 09:05:45 +0000 Subject: 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. --- modules/pam_echo/pam_echo.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'modules/pam_echo') 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 -- cgit v1.2.3