Skip to content
Snippets Groups Projects
Commit 0d154bce authored by Bryan O'Sullivan's avatar Bryan O'Sullivan
Browse files

osutil: Solaris build fix

parent a7c832ab
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,10 @@
#include <sys/types.h>
#include <unistd.h>
#if defined(__sun)
#define dirfd(dir) ((dir)->dd_fd)
#endif
struct listdir_stat {
PyObject_HEAD
struct stat st;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment