]> git.ipfire.org Git - thirdparty/glibc.git/blame - sysdeps/unix/sysv/linux/hppa/bits/errno.h
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / sysdeps / unix / sysv / linux / hppa / bits / errno.h
CommitLineData
37374d91 1/* Error constants. Linux/HPPA specific version.
688903eb 2 Copyright (C) 1996-2018 Free Software Foundation, Inc.
37374d91
UD
3 This file is part of the GNU C Library.
4
5 The GNU C Library is free software; you can redistribute it and/or
3214b89b
AJ
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
37374d91
UD
9
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3214b89b 13 Lesser General Public License for more details.
37374d91 14
3214b89b 15 You should have received a copy of the GNU Lesser General Public
ab84e3ff
PE
16 License along with the GNU C Library. If not, see
17 <http://www.gnu.org/licenses/>. */
37374d91 18
fd860eaa
ZW
19#ifndef _BITS_ERRNO_H
20#define _BITS_ERRNO_H 1
21
22#if !defined _ERRNO_H
23# error "Never include <bits/errno.h> directly; use <errno.h> instead."
24#endif
37374d91 25
37374d91
UD
26# include <linux/errno.h>
27
fd860eaa
ZW
28/* Older Linux headers do not define these constants. */
29# ifndef ENOTSUP
30# define ENOTSUP EOPNOTSUPP
31# endif
32
d86c4cf8 33# ifndef ECANCELED
fd860eaa 34# define ECANCELED 253
d86c4cf8 35# endif
37374d91 36
cbbda7ad
CD
37# ifndef EOWNERDEAD
38# define EOWNERDEAD 254
39# endif
40
eee70259 41# ifndef ENOTRECOVERABLE
cbbda7ad
CD
42# define ENOTRECOVERABLE 255
43# endif
44
45# ifndef ERFKILL
eee70259
CD
46# define ERFKILL 256
47# endif
48
49# ifndef EHWPOISON
50# define EHWPOISON 257
cbbda7ad
CD
51# endif
52
fd860eaa 53#endif /* bits/errno.h. */