aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libspl/include/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libspl/include/unistd.h')
-rw-r--r--lib/libspl/include/unistd.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/libspl/include/unistd.h b/lib/libspl/include/unistd.h
index dc95e28b5..53851f4ab 100644
--- a/lib/libspl/include/unistd.h
+++ b/lib/libspl/include/unistd.h
@@ -27,21 +27,21 @@
#include_next <unistd.h>
#ifndef _LIBSPL_UNISTD_H
-#define _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
-# error "System call ioctl() unavailable"
-# endif
-#endif
+#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>
-# define issetugid() (geteuid() == 0 || getegid() == 0)
+#include <sys/types.h>
+#define issetugid() (geteuid() == 0 || getegid() == 0)
#endif
#endif /* _LIBSPL_UNISTD_H */