diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-04-20 13:46:43 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-04-20 13:46:43 (GMT) |
commit | 3d94942000dde4266487969eb75f27fd3d46099f (patch) | |
tree | d79917eb57db4403b044664b8e8414c1b673a09f /Modules | |
parent | a4eb14b7a419f01ea92ee57375836db04ee4ba51 (diff) | |
download | cpython-3d94942000dde4266487969eb75f27fd3d46099f.zip cpython-3d94942000dde4266487969eb75f27fd3d46099f.tar.gz cpython-3d94942000dde4266487969eb75f27fd3d46099f.tar.bz2 |
#546163, fix link problem on Solaris 8 for makedev when using mknod
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/posixmodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index b9aa28a..fb35b1a 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -278,6 +278,9 @@ extern int lstat(const char *, struct stat *); # define STRUCT_STAT struct stat #endif +#if defined(HAVE_MKNOD) && defined(HAVE_SYS_MKDEV_H) +#include <sys/mkdev.h> +#endif /* Return a dictionary corresponding to the POSIX environment table */ |