From 94acb9c6bc5927b118510d0d4f0c8700748c0abf Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 29 Jan 2002 09:15:59 +0000 Subject: * file.c: `major' and `minor' macro needs sys/mkdev.h on SunOS 5.x. * configure.in: add check for `sys/mkdev.h'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- file.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'file.c') diff --git a/file.c b/file.c index 8d6d5e0ca0..13cca0fa47 100644 --- a/file.c +++ b/file.c @@ -67,6 +67,10 @@ char *strrchr _((const char*,const char)); #include #include +#ifdef HAVE_SYS_MKDEV_H +#include +#endif + #ifndef HAVE_LSTAT #define lstat(path,st) stat(path,st) #endif -- cgit v1.2.3