-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Helge Deller <deller@gmx.de>
- Loading branch information
Helge Deller
committed
Nov 19, 2013
1 parent
9af63ae
commit 38c7937
Showing
2 changed files
with
14 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#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 */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters