Mercurial > gnulib
changeset 14250:d54c81f4d85a
ignore-value: Fix self-test.
* tests/test-ignore-value.c: Include sys/types.h for off_t.
author | Simon Josefsson <simon@josefsson.org> |
---|---|
date | Sun, 30 Jan 2011 09:28:59 +0100 |
parents | 52b55b447c02 |
children | 1662b19c2c7a |
files | ChangeLog tests/test-ignore-value.c |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sat Jan 29 23:59:31 2011 -0800 +++ b/ChangeLog Sun Jan 30 09:28:59 2011 +0100 @@ -1,3 +1,8 @@ +2011-01-30 Simon Josefsson <simon@josefsson.org> + + ignore-value: Fix self-test. + * tests/test-ignore-value.c: Include sys/types.h for off_t. + 2011-01-29 Paul Eggert <eggert@cs.ucla.edu> TYPE_MAXIMUM: avoid theoretically undefined behavior
--- a/tests/test-ignore-value.c Sat Jan 29 23:59:31 2011 -0800 +++ b/tests/test-ignore-value.c Sun Jan 30 09:28:59 2011 +0100 @@ -22,6 +22,7 @@ #include "ignore-value.h" #include <stdio.h> +#include <sys/types.h> #ifndef ATTRIBUTE_RETURN_CHECK # if __GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 1)