Ensure pid_t gets defined.
[gnulib.git] / tests / test-time.c
index 0c78f36..df4710d 100644 (file)
@@ -22,7 +22,9 @@
 
 #include "verify.h"
 
-struct timespec a;
+/* Check that the types are all defined.  */
+struct timespec t1;
+pid_t t2;
 
 /* Check that NULL can be passed through varargs as a pointer type,
    per POSIX 2008.  */