From: Tim Rice Date: Wed, 13 Jan 2010 23:44:34 +0000 (-0800) Subject: - (tim) [defines.h] openbsd-compat/readpassphrase.c now needs _NSIG. X-Git-Tag: V_5_4_P1~110 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4a7fcbc462b2af134f6e59a6068fbe5b35fba80;p=thirdparty%2Fopenssh-portable.git - (tim) [defines.h] openbsd-compat/readpassphrase.c now needs _NSIG. feedback and ok dtucker@ --- diff --git a/ChangeLog b/ChangeLog index 18ce0aa38..1efed808c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -31,6 +31,8 @@ don't append a space after inserting a completion of a directory (i.e. a path ending in '/') for a slightly better user experience; ok dtucker@ - (dtucker) [sftp-common.c] Wrap include of util.h in an ifdef. + - (tim) [defines.h] openbsd-compat/readpassphrase.c now needs _NSIG. + feedback and ok dtucker@ 20100112 - (dtucker) OpenBSD CVS Sync diff --git a/defines.h b/defines.h index 3211cc916..c9b93bf71 100644 --- a/defines.h +++ b/defines.h @@ -25,7 +25,7 @@ #ifndef _DEFINES_H #define _DEFINES_H -/* $Id: defines.h,v 1.158 2010/01/09 11:33:37 dtucker Exp $ */ +/* $Id: defines.h,v 1.159 2010/01/13 23:44:34 tim Exp $ */ /* Constants */ @@ -753,4 +753,12 @@ struct winsize { # define SSH_IOBUFSZ 8192 #endif +#ifndef _NSIG +# ifdef NSIG +# define _NSIG NSIG +# else +# define _NSIG 128 +# endif +#endif + #endif /* _DEFINES_H */