diff options
Diffstat (limited to 'crypto/openssh/bufaux.c')
-rw-r--r-- | crypto/openssh/bufaux.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/openssh/bufaux.c b/crypto/openssh/bufaux.c index f4c5c94..79f8bbd 100644 --- a/crypto/openssh/bufaux.c +++ b/crypto/openssh/bufaux.c @@ -157,6 +157,7 @@ buffer_get_int(Buffer *buffer) return GET_32BIT(buf); } +#ifdef HAVE_U_INT64_T u_int64_t buffer_get_int64(Buffer *buffer) { @@ -164,6 +165,7 @@ buffer_get_int64(Buffer *buffer) buffer_get(buffer, (char *) buf, 8); return GET_64BIT(buf); } +#endif /* * Stores integers in the buffer, msb first. @@ -184,6 +186,7 @@ buffer_put_int(Buffer *buffer, u_int value) buffer_append(buffer, buf, 4); } +#ifdef HAVE_U_INT64_T void buffer_put_int64(Buffer *buffer, u_int64_t value) { @@ -191,6 +194,7 @@ buffer_put_int64(Buffer *buffer, u_int64_t value) PUT_64BIT(buf, value); buffer_append(buffer, buf, 8); } +#endif /* * Returns an arbitrary binary string from the buffer. The string cannot |