зеркало из https://github.com/github/ruby.git
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:
Родитель
f0baa12267
Коммит
6c7024f6f4
|
@ -1,3 +1,8 @@
|
|||
Thu Nov 3 15:01:29 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* file.c: include sys/sysmacros.h for ArchLinux which deprecated
|
||||
use of major() and minor() in sys/types.h.
|
||||
|
||||
Wed Nov 2 08:45:49 2016 Dmitry Gritsay <unseductable@gmail.com>
|
||||
|
||||
* doc/extension.rdoc: set ANYARGS as arguments for func1 and func2.
|
||||
|
|
|
@ -1322,6 +1322,7 @@ AC_CHECK_HEADERS(sys/select.h)
|
|||
AC_CHECK_HEADERS(sys/sendfile.h)
|
||||
AC_CHECK_HEADERS(sys/socket.h)
|
||||
AC_CHECK_HEADERS(sys/syscall.h)
|
||||
AC_CHECK_HEADERS(sys/sysmacros.h)
|
||||
AC_CHECK_HEADERS(sys/time.h)
|
||||
AC_CHECK_HEADERS(sys/times.h)
|
||||
AC_CHECK_HEADERS(sys/uio.h)
|
||||
|
|
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>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче