commit | 3d94942000dde4266487969eb75f27fd3d46099f | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Sat Apr 20 13:46:43 2002 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Sat Apr 20 13:46:43 2002 +0000 |
tree | d79917eb57db4403b044664b8e8414c1b673a09f | |
parent | a4eb14b7a419f01ea92ee57375836db04ee4ba51 [diff] [blame] |
#546163, fix link problem on Solaris 8 for makedev when using mknod
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 @@ # 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 */