- (bal) no 64bit support patch from Tim Rice <tim@multitalents.net>
diff --git a/bufaux.c b/bufaux.c
index 8970ba13..b17256d 100644
--- a/bufaux.c
+++ b/bufaux.c
@@ -152,6 +152,7 @@
return GET_32BIT(buf);
}
+#ifdef HAVE_U_INT64_T
u_int64_t
buffer_get_int64(Buffer *buffer)
{
@@ -159,6 +160,7 @@
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_append(buffer, buf, 4);
}
+#ifdef HAVE_U_INT64_T
void
buffer_put_int64(Buffer *buffer, u_int64_t value)
{
@@ -178,6 +181,7 @@
PUT_64BIT(buf, value);
buffer_append(buffer, buf, 8);
}
+#endif
/*
* Returns an arbitrary binary string from the buffer. The string cannot