summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/bits/socket.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/bits/socket.h b/arch/mips/bits/socket.h
index 36febbc2..3715ddd6 100644
--- a/arch/mips/bits/socket.h
+++ b/arch/mips/bits/socket.h
@@ -15,3 +15,6 @@ struct cmsghdr
int cmsg_level;
int cmsg_type;
};
+
+#define SOCK_STREAM 2
+#define SOCK_DGRAM 1