Mercurial > hg > octave-jordi > gnulib-hg
comparison tests/test-gettimeofday.c @ 7907:1be30ef548f5
Make it compile again. suseconds_t does not exist on Cygwin.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 19 Jan 2007 02:18:25 +0000 |
parents | b7a83a69ac23 |
children | bbbbbf4cd1c5 |
comparison
equal
deleted
inserted
replaced
7906:16c8e82ea71c | 7907:1be30ef548f5 |
---|---|
18 * 02110-1301, USA. */ | 18 * 02110-1301, USA. */ |
19 | 19 |
20 #include <config.h> | 20 #include <config.h> |
21 | 21 |
22 #include <sys/time.h> | 22 #include <sys/time.h> |
23 #include <time.h> | |
23 | 24 |
24 #include <stdio.h> | 25 #include <stdio.h> |
25 #include <string.h> | 26 #include <string.h> |
26 | |
27 suseconds_t dummy = 0; /* just to test if this type is available */ | |
28 | 27 |
29 int | 28 int |
30 main (int argc, char *argv[]) | 29 main (int argc, char *argv[]) |
31 { | 30 { |
32 time_t t = 0; | 31 time_t t = 0; |