aboutsummaryrefslogtreecommitdiff
path: root/system/include/sys
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-05-24 10:13:42 +0200
committerAlon Zakai <alonzakai@gmail.com>2012-05-24 10:13:42 +0200
commita6d312ccb942b50287777fc22dc69de926ea3412 (patch)
tree0acabef2e78a97e7cd1742b9d98acb2a1b496e72 /system/include/sys
parentc3570e254952ba0593038993674473e900ada9e0 (diff)
parentb7ce870dd4b1352e308e212e77cd6161c1ec904e (diff)
Merge branch 'master' into llvmsvn
Diffstat (limited to 'system/include/sys')
-rw-r--r--system/include/sys/socket.h5
-rw-r--r--system/include/sys/socketvar.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/system/include/sys/socket.h b/system/include/sys/socket.h
index 33c10932..69bbdcaa 100644
--- a/system/include/sys/socket.h
+++ b/system/include/sys/socket.h
@@ -65,6 +65,11 @@ struct msghdr
int msg_flags;
};
+struct linger {
+ int l_onoff;
+ int l_linger;
+};
+
#ifdef __cplusplus
}
#endif
diff --git a/system/include/sys/socketvar.h b/system/include/sys/socketvar.h
new file mode 100644
index 00000000..58fe99cf
--- /dev/null
+++ b/system/include/sys/socketvar.h
@@ -0,0 +1,3 @@
+
+#include <sys/socket.h>
+