… | … | ||
---|---|---|---|
34 | #include <sys/stat.h> | 34 | #include <sys/stat.h> |
35 | #include <stdio.h> | 35 | #include <stdio.h> |
36 | #include <stdlib.h> | 36 | #include <stdlib.h> |
37 | #include <stdarg.h> | 37 | #include <stdarg.h> |
38 | #include <string.h> | 38 | #include <string.h> |
39 | #include <time.h> | ||
39 | #include <errno.h> | 40 | #include <errno.h> |
40 | 41 | ||
41 | #ifdef HAVE_FCNTL_H | 42 | #ifdef HAVE_FCNTL_H |
42 | #include <fcntl.h> | 43 | #include <fcntl.h> |
43 | #endif | 44 | #endif |
44 | #ifdef HAVE_UNISTD_H | 45 | #ifdef HAVE_UNISTD_H |
45 | #include <unistd.h> | 46 | #include <unistd.h> |
46 | #endif | 47 | #endif |
47 | 48 | ||
48 | #ifdef TIME_WITH_SYS_TIME | 49 | #ifdef HAVE_SYS_TIME_H |
49 | # include <sys/time.h> | 50 | # include <sys/time.h> |
50 | # include <time.h> | ||
51 | #else | ||
52 | # ifdef HAVE_SYS_TIME_H | ||
53 | # include <sys/time.h> | ||
54 | # else | ||
55 | # include <time.h> | ||
56 | # endif | ||
57 | #endif | 51 | #endif |
58 | 52 | ||
59 | /* to get open() in Windows */ | 53 | /* to get open() in Windows */ |
60 | #ifdef HAVE_IO_H | 54 | #ifdef HAVE_IO_H |
61 | #include <io.h> | 55 | #include <io.h> |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |