ignore-value: Fix self-test.
authorSimon Josefsson <simon@josefsson.org>
Sun, 30 Jan 2011 08:28:59 +0000 (09:28 +0100)
committerSimon Josefsson <simon@josefsson.org>
Sun, 30 Jan 2011 08:28:59 +0000 (09:28 +0100)
* tests/test-ignore-value.c: Include sys/types.h for off_t.

ChangeLog
tests/test-ignore-value.c

index da52674..e8dc0ac 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index a1c86e0..c21d5be 100644 (file)
@@ -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)