diff options
author | Thorsten Kukuk <kukuk@thkukuk.de> | 2006-01-15 09:05:45 +0000 |
---|---|---|
committer | Thorsten Kukuk <kukuk@thkukuk.de> | 2006-01-15 09:05:45 +0000 |
commit | 3216ce62806a23b4265d375fa913b62adb1a0be9 (patch) | |
tree | ba34179b0a8f2d8c1984811b2432954447f574fb /modules | |
parent | c3d83285d03ea826b375467b62b4e45854c0241d (diff) | |
download | pam-3216ce62806a23b4265d375fa913b62adb1a0be9.tar.gz pam-3216ce62806a23b4265d375fa913b62adb1a0be9.tar.bz2 pam-3216ce62806a23b4265d375fa913b62adb1a0be9.zip |
Relevant BUGIDs: bugreport
Purpose of commit: bugfix
Commit summary:
---------------
2006-01-15 Thorsten Kukuk <kukuk@thkukuk.de>
* modules/pam_echo/pam_echo.c: Define HOST_NAME_MAX if not
already defined.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/pam_echo/pam_echo.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 <kukuk@suse.de> + * Copyright (c) 2005, 2006 Thorsten Kukuk <kukuk@suse.de> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -48,6 +48,10 @@ #include <sys/types.h> #include <sys/stat.h> +#ifndef HOST_NAME_MAX +#define HOST_NAME_MAX 255 +#endif + #define PAM_SM_ACCOUNT #define PAM_SM_AUTH #define PAM_SM_PASSWORD |