Mercurial > hg > octave-lyh > gnulib-hg
changeset 9669:8b484b0c3ae6
Add comments about required includes.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 03 Feb 2008 21:06:40 +0100 |
parents | fe75b5592c80 |
children | 67a58512a933 |
files | ChangeLog lib/diffseq.h |
diffstat | 2 files changed, 12 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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.
--- 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 \