mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
file.c: include sys/sysmacros.h
* file.c: include sys/sysmacros.h for ArchLinux which deprecated use of major() and minor() in sys/types.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f0baa12267
commit
6c7024f6f4
3 changed files with 10 additions and 0 deletions
4
file.c
4
file.c
|
@ -63,6 +63,10 @@ int flock(int, int);
|
|||
#include <pwd.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_SYSMACROS_H
|
||||
#include <sys/sysmacros.h>
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue