Skip to content

Commit c99b1e8

Browse files
committed
define u_int type that is used in new struct
1 parent 27da0aa commit c99b1e8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

log.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ void sshfatal(const char *, const char *, int, int,
8181
void sshlogdirect(LogLevel, int, const char *, ...)
8282
__attribute__((format(printf, 3, 4)));
8383

84+
#ifdef WINDOWS
85+
typedef unsigned int u_int;
86+
#endif /* WINDOWS */
87+
8488
struct log_ratelimit_ctx {
8589
/* configuration */
8690
u_int threshold; /* events per second */

0 commit comments

Comments
 (0)