about summary refs log tree commit diff
path: root/include/sys/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/socket.h')
-rw-r--r--include/sys/socket.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h
index 88243ae5..a384ca12 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -34,8 +34,11 @@ struct linger
 #define SHUT_WD 1
 #define SHUT_RDWR 2
 
+#ifndef SOCK_STREAM
 #define SOCK_STREAM    1
 #define SOCK_DGRAM     2
+#endif
+
 #define SOCK_RAW       3
 #define SOCK_RDM       4
 #define SOCK_SEQPACKET 5