projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
autoupdate
[gnulib.git]
/
tests
/
test-time.c
diff --git
a/tests/test-time.c
b/tests/test-time.c
index
0c78f36
..
d499a5c
100644
(file)
--- a/
tests/test-time.c
+++ b/
tests/test-time.c
@@
-22,7
+22,13
@@
#include "verify.h"
#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. */
/* Check that NULL can be passed through varargs as a pointer type,
per POSIX 2008. */