Blame include/type_compat.h

Packit 4a16fb
/*
Packit 4a16fb
 *  ALSA lib - compatibility header to be included by local.h
Packit 4a16fb
 *  Copyright (c) 2016 by  Thomas Klausner <wiz@NetBSD.org>
Packit 4a16fb
 *
Packit 4a16fb
 *
Packit 4a16fb
 *   This library is free software; you can redistribute it and/or modify
Packit 4a16fb
 *   it under the terms of the GNU Lesser General Public License as
Packit 4a16fb
 *   published by the Free Software Foundation; either version 2.1 of
Packit 4a16fb
 *   the License, or (at your option) any later version.
Packit 4a16fb
 *
Packit 4a16fb
 *   This program is distributed in the hope that it will be useful,
Packit 4a16fb
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 4a16fb
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit 4a16fb
 *   GNU Lesser General Public License for more details.
Packit 4a16fb
 *
Packit 4a16fb
 *   You should have received a copy of the GNU Lesser General Public
Packit 4a16fb
 *   License along with this library; if not, write to the Free Software
Packit 4a16fb
 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
Packit 4a16fb
 *
Packit 4a16fb
 */
Packit 4a16fb
Packit 4a16fb
#ifndef __TYPE_COMPAT_H
Packit 4a16fb
#define __TYPE_COMPAT_H
Packit 4a16fb
Packit 4a16fb
#ifndef EBADFD
Packit 4a16fb
#define EBADFD EBADF
Packit 4a16fb
#endif
Packit 4a16fb
#ifndef ESTRPIPE
Packit 4a16fb
#define ESTRPIPE EPIPE
Packit 4a16fb
#endif
Packit 4a16fb
Packit 4a16fb
#ifndef __u16
Packit 4a16fb
#define __u16	uint16_t
Packit 4a16fb
#endif
Packit 4a16fb
#ifndef __u32
Packit 4a16fb
#define __u32	uint32_t
Packit 4a16fb
#endif
Packit 4a16fb
#ifndef __u64
Packit 4a16fb
#define __u64	uint64_t
Packit 4a16fb
#endif
Packit 4a16fb
#ifndef __le16
Packit 4a16fb
#define __le16	uint16_t
Packit 4a16fb
#endif
Packit 4a16fb
#ifndef __le32
Packit 4a16fb
#define __le32	uint32_t
Packit 4a16fb
#endif
Packit 4a16fb
#ifndef __le64
Packit 4a16fb
#define __le64	uint64_t
Packit 4a16fb
#endif
Packit 4a16fb
#ifndef __kernel_pid_t
Packit 4a16fb
#define __kernel_pid_t	pid_t
Packit 4a16fb
#endif
Packit 4a16fb
#ifndef __kernel_off_t
Packit 4a16fb
#define __kernel_off_t	off_t
Packit 4a16fb
#endif
Packit 4a16fb
Packit 4a16fb
#ifndef __bitwise
Packit 4a16fb
#define __bitwise
Packit 4a16fb
#endif
Packit 4a16fb
Packit 4a16fb
#endif