diff options
author | Jim Meyering <meyering@redhat.com> | 2007-10-28 19:04:59 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2007-10-28 19:04:59 +0100 |
commit | 709a27ba480d0c7d2fcef30cf2dfb182fb2b54cf (patch) | |
tree | b9fafe18c59e487c8f16f168f1e5183eb74ea89a /gl/lib | |
parent | 39e668ce5b06b0747e5039a59bcfe1174c6fe366 (diff) | |
download | coreutils-709a27ba480d0c7d2fcef30cf2dfb182fb2b54cf.tar.xz |
Define ENOTSUP, not ENOSYS. Needed on OpenBSD 3.9.
* gl/lib/se-context.in.h (ENOTSUP): Define if missing.
* gl/lib/se-selinux.in.h: Likewise.
Diffstat (limited to 'gl/lib')
-rw-r--r-- | gl/lib/se-context.in.h | 12 | ||||
-rw-r--r-- | gl/lib/se-selinux.in.h | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/gl/lib/se-context.in.h b/gl/lib/se-context.in.h index 26e1709f1..ec88a0318 100644 --- a/gl/lib/se-context.in.h +++ b/gl/lib/se-context.in.h @@ -2,13 +2,13 @@ # define SELINUX_CONTEXT_H # include <errno.h> -/* Some systems don't have ENOSYS. */ -# ifndef ENOSYS -# ifdef ENOTSUP -# define ENOSYS ENOTSUP +/* Some systems don't have ENOTSUP. */ +# ifndef ENOTSUP +# ifdef ENOSYS +# define ENOTSUP ENOSYS # else -/* Some systems don't have ENOTSUP either. */ -# define ENOSYS EINVAL +/* Some systems don't have ENOSYS either. */ +# define ENOTSUP EINVAL # endif # endif diff --git a/gl/lib/se-selinux.in.h b/gl/lib/se-selinux.in.h index b08c7eee4..7bfe4c5ff 100644 --- a/gl/lib/se-selinux.in.h +++ b/gl/lib/se-selinux.in.h @@ -3,13 +3,13 @@ # include <sys/types.h> # include <errno.h> -/* Some systems don't have ENOSYS. */ -# ifndef ENOSYS -# ifdef ENOTSUP -# define ENOSYS ENOTSUP +/* Some systems don't have ENOTSUP. */ +# ifndef ENOTSUP +# ifdef ENOSYS +# define ENOTSUP ENOSYS # else -/* Some systems don't have ENOTSUP either. */ -# define ENOSYS EINVAL +/* Some systems don't have ENOSYS either. */ +# define ENOTSUP EINVAL # endif # endif |