summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-02-03 21:06:40 +0100
committerBruno Haible <bruno@clisp.org>2008-02-03 21:06:40 +0100
commit1fe8736cb99f671568f2ac99a92d54da5693992c (patch)
treef96248f6a811b694eb668f322671f7071aff06b4
parent5ee75f6e232b78a213c705dfd9699d4a98c947c9 (diff)
downloadgnulib-1fe8736cb99f671568f2ac99a92d54da5693992c.tar.gz
Add comments about required includes.
-rw-r--r--ChangeLog5
-rw-r--r--lib/diffseq.h9
2 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index bb6aebfbc9..41e67aeb86 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-02-03 Bruno Haible <bruno@clisp.org>
+
+ * lib/diffseq.h: Add comments about required #includes.
+ Reported by Michael Biggs <gnulib@doubleplum.net>.
+
2008-02-01 Bruno Haible <bruno@clisp.org>
* users.txt: Add gnuit.
diff --git a/lib/diffseq.h b/lib/diffseq.h
index 5940b94301..ad8b8b3a20 100644
--- a/lib/diffseq.h
+++ b/lib/diffseq.h
@@ -1,6 +1,6 @@
/* Analyze differences between two vectors.
- Copyright (C) 1988-1989, 1992-1995, 2001-2004, 2006, 2007 Free
+ Copyright (C) 1988-1989, 1992-1995, 2001-2004, 2006-2008 Free
Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
@@ -50,7 +50,12 @@
NOTE_DELETE(ctxt, xoff) Record the removal of the object xvec[xoff].
NOTE_INSERT(ctxt, yoff) Record the insertion of the object yvec[yoff].
USE_HEURISTIC (Optional) Define if you want to support the
- heuristic for large vectors. */
+ heuristic for large vectors.
+ Before including this file, you also need to include:
+ #include <limits.h>
+ #include <stdbool.h>
+ #include "minmax.h"
+ */
/* Maximum value of type OFFSET. */
#define OFFSET_MAX \