aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2013-09-13 11:06:15 +0700
committerAlon Zakai <alonzakai@gmail.com>2013-09-13 10:11:51 -0700
commit61c818d8da85668f2697d032f118db4243d7cafe (patch)
tree11627f45c85cd9892d08a0e93f7ae7c6c1b93c67 /system
parentbf349b84d900eb403cef64ab5e9469c9bd672ec6 (diff)
Add compat sys/socketvar.h
This is required by xmlvm's hysock which is needed for the benchmark.test_zzz_java_nbody test.
Diffstat (limited to 'system')
-rw-r--r--system/include/compat/sys/socketvar.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/system/include/compat/sys/socketvar.h b/system/include/compat/sys/socketvar.h
new file mode 100644
index 00000000..1e60ac2f
--- /dev/null
+++ b/system/include/compat/sys/socketvar.h
@@ -0,0 +1,14 @@
+#ifndef _COMPAT_SOCKETVAR_H
+#define _COMPAT_SOCKETVAR_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <sys/socket.h>
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif