summaryrefslogtreecommitdiff
path: root/fixincludes/tests/base/sys/socket.h
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /fixincludes/tests/base/sys/socket.h
downloadcbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2
cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository.
Diffstat (limited to 'fixincludes/tests/base/sys/socket.h')
-rw-r--r--fixincludes/tests/base/sys/socket.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/fixincludes/tests/base/sys/socket.h b/fixincludes/tests/base/sys/socket.h
new file mode 100644
index 000000000..3c6e42027
--- /dev/null
+++ b/fixincludes/tests/base/sys/socket.h
@@ -0,0 +1,37 @@
+/* DO NOT EDIT THIS FILE.
+
+ It has been auto-edited by fixincludes from:
+
+ "fixinc/tests/inc/sys/socket.h"
+
+ This had to be done to correct non-standard usages in the
+ original, manufacturer supplied header file. */
+
+
+
+#if defined( HPUX11_EXTERN_SENDFILE_CHECK )
+#ifndef _APP32_64BIT_OFF_T
+ extern sbsize_t sendfile __((int, int, off_t, bsize_t,
+ const struct iovec *, int));
+#endif
+
+#endif /* HPUX11_EXTERN_SENDFILE_CHECK */
+
+
+#if defined( HPUX11_EXTERN_SENDPATH_CHECK )
+#ifndef _APP32_64BIT_OFF_T
+ extern sbsize_t sendpath __((int, int, off_t, bsize_t,
+ const struct iovec *, int));
+#endif
+
+#endif /* HPUX11_EXTERN_SENDPATH_CHECK */
+
+
+#if defined( IRIX_SOCKLEN_T_CHECK )
+#define _SOCKLEN_T
+#if _NO_XOPEN4 && _NO_XOPEN5
+typedef int socklen_t;
+#else
+typedef u_int32_t socklen_t;
+#endif /* _NO_XOPEN4 && _NO_XOPEN5 */
+#endif /* IRIX_SOCKLEN_T_CHECK */