changeset 5432 | 0d154bce2341 |
parent 5431 | a7c832abd29c |
child 5457 | 7372b6bbc5e6 |
5431:a7c832abd29c | 5432:0d154bce2341 |
---|---|
14 #include <fcntl.h> |
14 #include <fcntl.h> |
15 #include <string.h> |
15 #include <string.h> |
16 #include <sys/stat.h> |
16 #include <sys/stat.h> |
17 #include <sys/types.h> |
17 #include <sys/types.h> |
18 #include <unistd.h> |
18 #include <unistd.h> |
19 |
|
20 #if defined(__sun) |
|
21 #define dirfd(dir) ((dir)->dd_fd) |
|
22 #endif |
|
19 |
23 |
20 struct listdir_stat { |
24 struct listdir_stat { |
21 PyObject_HEAD |
25 PyObject_HEAD |
22 struct stat st; |
26 struct stat st; |
23 }; |
27 }; |