summaryrefslogtreecommitdiffstats
path: root/include/asm-parisc/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-parisc/socket.h')
-rw-r--r--include/asm-parisc/socket.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-parisc/socket.h b/include/asm-parisc/socket.h
index 69a7a0d30b02..fba402c95ac2 100644
--- a/include/asm-parisc/socket.h
+++ b/include/asm-parisc/socket.h
@@ -54,4 +54,9 @@
#define SO_MARK 0x401f
+/* 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 */