aboutsummaryrefslogtreecommitdiff
path: root/system/include/sys
diff options
context:
space:
mode:
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>
+