mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
Retire HAVE_IOCTL_* configure checks
The HAVE_IOCTL_* configure checks were originally added for compatibility with an ancient version of glibc. This support and additional complexity is no longer needed and is therefore being removed. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Turbo Fredriksson <turbo@bayour.com> Closes #585
This commit is contained in:
@@ -29,15 +29,7 @@
|
||||
#ifndef _LIBSPL_UNISTD_H
|
||||
#define _LIBSPL_UNISTD_H
|
||||
|
||||
#if !defined(HAVE_IOCTL_IN_UNISTD_H)
|
||||
#if defined(HAVE_IOCTL_IN_SYS_IOCTL_H)
|
||||
#include <sys/ioctl.h>
|
||||
#elif defined(HAVE_IOCTL_IN_STROPTS_H)
|
||||
#include <stropts.h>
|
||||
#else /* HAVE_IOCTL_IN_STROPTS_H */
|
||||
#error "System call ioctl() unavailable"
|
||||
#endif /* HAVE_IOCTL_IN_SYS_IOCTL_H */
|
||||
#endif /* !HAVE_IOCTL_IN_UNISTD_H */
|
||||
|
||||
#if !defined(HAVE_ISSETUGID)
|
||||
#include <sys/types.h>
|
||||
|
||||
Reference in New Issue
Block a user