diff options
Diffstat (limited to 'loginrec.c')
-rw-r--r-- | loginrec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/loginrec.c b/loginrec.c index bdbc9bbf4..8e9560f3e 100644 --- a/loginrec.c +++ b/loginrec.c | |||
@@ -177,7 +177,8 @@ | |||
177 | #include "packet.h" | 177 | #include "packet.h" |
178 | #include "canohost.h" | 178 | #include "canohost.h" |
179 | #include "auth.h" | 179 | #include "auth.h" |
180 | #include "buffer.h" | 180 | #include "sshbuf.h" |
181 | #include "ssherr.h" | ||
181 | 182 | ||
182 | #ifdef HAVE_UTIL_H | 183 | #ifdef HAVE_UTIL_H |
183 | # include <util.h> | 184 | # include <util.h> |
@@ -210,7 +211,7 @@ int utmpx_get_entry(struct logininfo *li); | |||
210 | int wtmp_get_entry(struct logininfo *li); | 211 | int wtmp_get_entry(struct logininfo *li); |
211 | int wtmpx_get_entry(struct logininfo *li); | 212 | int wtmpx_get_entry(struct logininfo *li); |
212 | 213 | ||
213 | extern Buffer loginmsg; | 214 | extern struct sshbuf *loginmsg; |
214 | 215 | ||
215 | /* pick the shortest string */ | 216 | /* pick the shortest string */ |
216 | #define MIN_SIZEOF(s1,s2) (sizeof(s1) < sizeof(s2) ? sizeof(s1) : sizeof(s2)) | 217 | #define MIN_SIZEOF(s1,s2) (sizeof(s1) < sizeof(s2) ? sizeof(s1) : sizeof(s2)) |