summaryrefslogtreecommitdiff
path: root/gl/tests/test-time.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2011-09-21 15:49:06 +0200
committerSimon Josefsson <simon@josefsson.org>2011-09-21 15:49:06 +0200
commit5fdaefe2cfd2e38a83fee58c6a2b852d5e124d69 (patch)
treeaba3494f385bea407fd4b4f840b8b9cdfef711c2 /gl/tests/test-time.c
parent0f206a54a53abe0ca38216081d587cf98096fb26 (diff)
downloadgnutls-5fdaefe2cfd2e38a83fee58c6a2b852d5e124d69.tar.gz
Update gnulib files.
Diffstat (limited to 'gl/tests/test-time.c')
-rw-r--r--gl/tests/test-time.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gl/tests/test-time.c b/gl/tests/test-time.c
index 0c78f36c66..d499a5ca16 100644
--- a/gl/tests/test-time.c
+++ b/gl/tests/test-time.c
@@ -22,7 +22,13 @@
#include "verify.h"
-struct timespec a;
+/* Check that the types are all defined. */
+struct timespec t1;
+#if 0
+/* POSIX:2008 does not require pid_t in <time.h> unconditionally, and indeed
+ it's missing on MacOS X 10.5, FreeBSD 6.4, OpenBSD 4.9, mingw. */
+pid_t t2;
+#endif
/* Check that NULL can be passed through varargs as a pointer type,
per POSIX 2008. */