summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/buffer-lcm.c1
-rw-r--r--lib/buffer-lcm.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/buffer-lcm.c b/lib/buffer-lcm.c
index 022a73117..87503afb9 100644
--- a/lib/buffer-lcm.c
+++ b/lib/buffer-lcm.c
@@ -17,6 +17,7 @@
/* Written by Paul Eggert. */
+#include <config.h>
#include "buffer-lcm.h"
/* Return a buffer size suitable for doing I/O with files whose block
diff --git a/lib/buffer-lcm.h b/lib/buffer-lcm.h
index 9a6cdf5f0..454c65be8 100644
--- a/lib/buffer-lcm.h
+++ b/lib/buffer-lcm.h
@@ -1,2 +1,2 @@
#include <stddef.h>
-size_t buffer_lcm (size_t, size_t, size_t);
+size_t buffer_lcm (size_t, size_t, size_t) _GL_ATTRIBUTE_CONST;