summaryrefslogtreecommitdiff
path: root/pfinet/glue-include/linux/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/glue-include/linux/socket.h')
-rw-r--r--pfinet/glue-include/linux/socket.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/pfinet/glue-include/linux/socket.h b/pfinet/glue-include/linux/socket.h
index 820ed00f..057afbdb 100644
--- a/pfinet/glue-include/linux/socket.h
+++ b/pfinet/glue-include/linux/socket.h
@@ -20,10 +20,16 @@
#define SOPRI_NORMAL 1
#define SOPRI_BACKGROUND 2
+#ifndef SOL_IP
#define SOL_IP IPPROTO_IP
+#endif
#define SOL_TCP IPPROTO_TCP
+#ifndef SOL_IPV6
#define SOL_IPV6 IPPROTO_IPV6
+#endif
+#ifndef SOL_ICMPV6
#define SOL_ICMPV6 IPPROTO_ICMPV6
+#endif
#define SOL_RAW IPPROTO_RAW
/* IP options */