]> andersk Git - openssh.git/blobdiff - bufaux.c
- markus@cvs.openbsd.org 2001/03/23 14:28:32
[openssh.git] / bufaux.c
index 8970ba13721c275f0a58e8b12f31c578aea66fec..b17256db66b1b37fe0ea34d9cc9c7a42af5f2b3d 100644 (file)
--- a/bufaux.c
+++ b/bufaux.c
@@ -152,6 +152,7 @@ buffer_get_int(Buffer *buffer)
        return GET_32BIT(buf);
 }
 
+#ifdef HAVE_U_INT64_T
 u_int64_t
 buffer_get_int64(Buffer *buffer)
 {
@@ -159,6 +160,7 @@ buffer_get_int64(Buffer *buffer)
        buffer_get(buffer, (char *) buf, 8);
        return GET_64BIT(buf);
 }
+#endif
 
 /*
  * Stores an integer in the buffer in 4 bytes, msb first.
@@ -171,6 +173,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)
 {
@@ -178,6 +181,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
This page took 0.032475 seconds and 4 git commands to generate.