xref: /openbsd/gnu/gcc/fixincludes/tests/base/sys/socket.h (revision d89ec533)
1 /*  DO NOT EDIT THIS FILE.
2 
3     It has been auto-edited by fixincludes from:
4 
5 	"fixinc/tests/inc/sys/socket.h"
6 
7     This had to be done to correct non-standard usages in the
8     original, manufacturer supplied header file.  */
9 
10 
11 
12 #if defined( HPUX11_EXTERN_SENDFILE_CHECK )
13 #ifndef _APP32_64BIT_OFF_T
14    extern sbsize_t sendfile __((int, int, off_t, bsize_t,
15                                const struct iovec *, int));
16 #endif
17 
18 #endif  /* HPUX11_EXTERN_SENDFILE_CHECK */
19 
20 
21 #if defined( HPUX11_EXTERN_SENDPATH_CHECK )
22 #ifndef _APP32_64BIT_OFF_T
23    extern sbsize_t sendpath __((int, int, off_t, bsize_t,
24                                const struct iovec *, int));
25 #endif
26 
27 #endif  /* HPUX11_EXTERN_SENDPATH_CHECK */
28 
29 
30 #if defined( IRIX_SOCKLEN_T_CHECK )
31 #define _SOCKLEN_T
32 #if _NO_XOPEN4 && _NO_XOPEN5
33 typedef int socklen_t;
34 #else
35 typedef u_int32_t socklen_t;
36 #endif /* _NO_XOPEN4 && _NO_XOPEN5 */
37 #endif  /* IRIX_SOCKLEN_T_CHECK */
38 
39 
40 #if defined( SOLARIS_SOCKET_CHECK )
41 #ident   "@(#)socket.h   1.30    97/01/20 SMI"
42 extern int recv(int, void *, int, int);
43 extern int send(int, const void *, int, int);
44 #endif  /* SOLARIS_SOCKET_CHECK */
45