X-Git-Url: http://git.rot13.org/?p=bcm963xx.git;a=blobdiff_plain;f=userapps%2Fopensource%2Fsshd%2Fincludes.h;h=6c9f0842161a762da5c2c849528a34e9b43a87f3;hp=c7725bedf25069c1d19a23db1158cfa10176c38d;hb=57a096f051259ceaefd5977f30d269884e1dd248;hpb=9887430fc6b7c0f8eb8e81de2bfe3bba12d8d4a1 diff --git a/userapps/opensource/sshd/includes.h b/userapps/opensource/sshd/includes.h index c7725bed..6c9f0842 100755 --- a/userapps/opensource/sshd/includes.h +++ b/userapps/opensource/sshd/includes.h @@ -55,6 +55,7 @@ #include #include #include +#include #include @@ -110,9 +111,12 @@ #include #endif -#include "libtomcrypt/mycrypt_custom.h" +#include "libtomcrypt/src/headers/tomcrypt.h" #include "libtommath/tommath.h" +#include "compat.h" +#include "fake-rfc2553.h" + #ifndef HAVE_UINT16_T #ifndef HAVE_U_INT16_T typedef unsigned short u_int16_t; @@ -124,4 +128,14 @@ typedef u_int16_t uint16_t; #define LOG_AUTHPRIV LOG_AUTH #endif +/* so we can avoid warnings about unused params (ie in signal handlers etc) */ +#ifdef UNUSED +#elif defined(__GNUC__) +# define UNUSED(x) UNUSED_ ## x __attribute__((unused)) +#elif defined(__LCLINT__) +# define UNUSED(x) /*@unused@*/ x +#else +# define UNUSED(x) x +#endif + #endif /* _INCLUDES_H_ */