summaryrefslogtreecommitdiffstats
path: root/lib/libspl
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2014-08-27 14:12:18 -0700
committerBrian Behlendorf <[email protected]>2014-08-28 07:45:54 -0700
commit9ad656b2d025a23ba27a4bc482638e753e62d947 (patch)
tree6d1f52d5f1ad26c766b0a7432f08cd156eedeb8e /lib/libspl
parentdea377c0d9d92bd7d10c0e2f006efa11ab28060a (diff)
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 <[email protected]> Signed-off-by: Turbo Fredriksson <[email protected]> Closes #585
Diffstat (limited to 'lib/libspl')
-rw-r--r--lib/libspl/include/unistd.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/libspl/include/unistd.h b/lib/libspl/include/unistd.h
index 53851f4ab..0246991b4 100644
--- a/lib/libspl/include/unistd.h
+++ b/lib/libspl/include/unistd.h
@@ -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>