Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 38c79373 authored by Helge Deller's avatar Helge Deller
Browse files

parisc: break out SOCK_NONBLOCK define to own asm header file



Break SOCK_NONBLOCK out to its own asm-file as other arches do. This
fixes build errors with auditd and probably other packages.

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 9af63aed
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
#ifndef _ASM_SOCKET_H
#define _ASM_SOCKET_H

#include <uapi/asm/socket.h>

/* O_NONBLOCK clashes with the bits used for socket types.  Therefore we
 * have to define SOCK_NONBLOCK to a different value here.
 */
#define SOCK_NONBLOCK	0x40000000

#endif /* _ASM_SOCKET_H */
+3 −8
Original line number Diff line number Diff line
#ifndef _ASM_SOCKET_H
#define _ASM_SOCKET_H
#ifndef _UAPI_ASM_SOCKET_H
#define _UAPI_ASM_SOCKET_H

#include <asm/sockios.h>

@@ -77,9 +77,4 @@

#define SO_MAX_PACING_RATE	0x4048

/* O_NONBLOCK clashes with the bits used for socket types.  Therefore we
 * have to define SOCK_NONBLOCK to a different value here.
 */
#define SOCK_NONBLOCK   0x40000000

#endif /* _ASM_SOCKET_H */
#endif /* _UAPI_ASM_SOCKET_H */