Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 530080 | Differences between
and this patch

Collapse All | Expand All

(-)./tirpc/rpc/xdr.h.orig (+2 lines)
Lines 40-46 Link Here
40
40
41
#ifndef _TIRPC_XDR_H
41
#ifndef _TIRPC_XDR_H
42
#define _TIRPC_XDR_H
42
#define _TIRPC_XDR_H
43
#ifdef __GLIBC__
43
#include <sys/cdefs.h>
44
#include <sys/cdefs.h>
45
#endif
44
#include <stdio.h>
46
#include <stdio.h>
45
#include <netinet/in.h>
47
#include <netinet/in.h>
46
48
(-)./tirpc/rpc/pmap_prot.h.orig (+2 lines)
Lines 71-77 Link Here
71
71
72
#ifndef _RPC_PMAP_PROT_H
72
#ifndef _RPC_PMAP_PROT_H
73
#define _RPC_PMAP_PROT_H
73
#define _RPC_PMAP_PROT_H
74
#ifdef __GLIBC__
74
#include <sys/cdefs.h>
75
#include <sys/cdefs.h>
76
#endif
75
77
76
#define PMAPPORT		((u_short)111)
78
#define PMAPPORT		((u_short)111)
77
#define PMAPPROG		((u_long)100000)
79
#define PMAPPROG		((u_long)100000)
(-)./tirpc/rpc/auth.h.orig (+2 lines)
Lines 48-54 Link Here
48
48
49
#include <rpc/xdr.h>
49
#include <rpc/xdr.h>
50
#include <rpc/clnt_stat.h>
50
#include <rpc/clnt_stat.h>
51
#ifdef __GLIBC__
51
#include <sys/cdefs.h>
52
#include <sys/cdefs.h>
53
#endif
52
#include <sys/socket.h>
54
#include <sys/socket.h>
53
#include <sys/types.h>
55
#include <sys/types.h>
54
56
(-)./tirpc/rpc/svc.h.orig (+2 lines)
Lines 40-46 Link Here
40
40
41
#ifndef _TIRPC_SVC_H
41
#ifndef _TIRPC_SVC_H
42
#define _TIRPC_SVC_H
42
#define _TIRPC_SVC_H
43
#ifdef __GLIBC__
43
#include <sys/cdefs.h>
44
#include <sys/cdefs.h>
45
#endif
44
46
45
/*
47
/*
46
 * This interface must manage two items concerning remote procedure calling:
48
 * This interface must manage two items concerning remote procedure calling:
(-)./tirpc/rpc/svc_soc.h.orig (+2 lines)
Lines 38-44 Link Here
38
38
39
#ifndef _RPC_SVC_SOC_H
39
#ifndef _RPC_SVC_SOC_H
40
#define _RPC_SVC_SOC_H
40
#define _RPC_SVC_SOC_H
41
#ifdef __GLIBC__
41
#include <sys/cdefs.h>
42
#include <sys/cdefs.h>
43
#endif
42
44
43
/* #pragma ident   "@(#)svc_soc.h  1.11    94/04/25 SMI" */
45
/* #pragma ident   "@(#)svc_soc.h  1.11    94/04/25 SMI" */
44
/*      svc_soc.h 1.8 89/05/01 SMI      */
46
/*      svc_soc.h 1.8 89/05/01 SMI      */
(-)./tirpc/rpc/clnt_soc.h.orig (+2 lines)
Lines 46-52 Link Here
46
 * with TS-RPC.
46
 * with TS-RPC.
47
 */
47
 */
48
48
49
#ifdef __GLIBC__
49
#include <sys/cdefs.h>
50
#include <sys/cdefs.h>
51
#endif
50
52
51
#define UDPMSGSIZE      8800    /* rpc imposed limit on udp msg size */  
53
#define UDPMSGSIZE      8800    /* rpc imposed limit on udp msg size */  
52
54
(-)./tirpc/rpc/rpc_com.h.orig (+2 lines)
Lines 41-47 Link Here
41
#ifndef _RPC_RPCCOM_H
41
#ifndef _RPC_RPCCOM_H
42
#define	_RPC_RPCCOM_H
42
#define	_RPC_RPCCOM_H
43
43
44
#ifdef __GLIBC__
44
#include <sys/cdefs.h>
45
#include <sys/cdefs.h>
46
#endif
45
47
46
/* #pragma ident	"@(#)rpc_com.h	1.11	93/07/05 SMI" */
48
/* #pragma ident	"@(#)rpc_com.h	1.11	93/07/05 SMI" */
47
49
(-)./tirpc/rpc/auth_unix.h.orig (+2 lines)
Lines 45-51 Link Here
45
45
46
#ifndef _TIRPC_AUTH_UNIX_H
46
#ifndef _TIRPC_AUTH_UNIX_H
47
#define _TIRPC_AUTH_UNIX_H
47
#define _TIRPC_AUTH_UNIX_H
48
#ifdef __GLIBC__
48
#include <sys/cdefs.h>
49
#include <sys/cdefs.h>
50
#endif
49
51
50
/* The machine name is part of a credential; it may not exceed 255 bytes */
52
/* The machine name is part of a credential; it may not exceed 255 bytes */
51
#define MAX_MACHINE_NAME 255
53
#define MAX_MACHINE_NAME 255
(-)./tirpc/rpc/pmap_rmt.h.orig (+2 lines)
Lines 41-47 Link Here
41
41
42
#ifndef _RPC_PMAP_RMT_H
42
#ifndef _RPC_PMAP_RMT_H
43
#define _RPC_PMAP_RMT_H
43
#define _RPC_PMAP_RMT_H
44
#ifdef __GLIBC__
44
#include <sys/cdefs.h>
45
#include <sys/cdefs.h>
46
#endif
45
47
46
struct rmtcallargs {
48
struct rmtcallargs {
47
	u_long prog, vers, proc, arglen;
49
	u_long prog, vers, proc, arglen;
(-)./tirpc/rpc/des_crypt.h.orig (+2 lines)
Lines 43-49 Link Here
43
#ifndef _DES_DES_CRYPT_H
43
#ifndef _DES_DES_CRYPT_H
44
#define _DES_DES_CRYPT_H
44
#define _DES_DES_CRYPT_H
45
45
46
#ifdef __GLIBC__
46
#include <sys/cdefs.h>
47
#include <sys/cdefs.h>
48
#endif
47
#include <rpc/rpc.h>
49
#include <rpc/rpc.h>
48
50
49
#define DES_MAXDATA 8192	/* max bytes encrypted in one call */
51
#define DES_MAXDATA 8192	/* max bytes encrypted in one call */
(-)./tirpc/rpc/clnt.h.orig (+2 lines)
Lines 42-48 Link Here
42
#include <rpc/clnt_stat.h>
42
#include <rpc/clnt_stat.h>
43
#include <rpc/auth.h>
43
#include <rpc/auth.h>
44
44
45
#ifdef __GLIBC__
45
#include <sys/cdefs.h>
46
#include <sys/cdefs.h>
47
#endif
46
#include <netconfig.h>
48
#include <netconfig.h>
47
#include <sys/un.h>
49
#include <sys/un.h>
48
50
(-)./tirpc/rpc/pmap_clnt.h.orig (+2 lines)
Lines 63-69 Link Here
63
63
64
#ifndef _RPC_PMAP_CLNT_H_
64
#ifndef _RPC_PMAP_CLNT_H_
65
#define _RPC_PMAP_CLNT_H_
65
#define _RPC_PMAP_CLNT_H_
66
#ifdef __GLIBC__
66
#include <sys/cdefs.h>
67
#include <sys/cdefs.h>
68
#endif
67
69
68
__BEGIN_DECLS
70
__BEGIN_DECLS
69
extern bool_t		pmap_set(u_long, u_long, int, int);
71
extern bool_t		pmap_set(u_long, u_long, int, int);
(-)./tirpc/rpcsvc/crypt.x.orig (-1 / +3 lines)
Lines 31-37 Link Here
31
 */
31
 */
32
32
33
#ifndef RPC_HDR
33
#ifndef RPC_HDR
34
%#include <sys/cdefs.h>
34
%#ifdef __GLIBC__
35
%#include <sys/cdefs.h>
36
%#endif
35
%__FBSDID("$FreeBSD: src/include/rpcsvc/crypt.x,v 1.5 2003/05/04 02:51:42 obrien Exp $");
37
%__FBSDID("$FreeBSD: src/include/rpcsvc/crypt.x,v 1.5 2003/05/04 02:51:42 obrien Exp $");
36
#endif
38
#endif
37
39
(-)./src/auth_none.c.orig (+2 lines)
Lines 31-37 Link Here
31
static char *sccsid = "@(#)auth_none.c 1.19 87/08/11 Copyr 1984 Sun Micro";
31
static char *sccsid = "@(#)auth_none.c 1.19 87/08/11 Copyr 1984 Sun Micro";
32
static char *sccsid = "@(#)auth_none.c	2.1 88/07/29 4.0 RPCSRC";
32
static char *sccsid = "@(#)auth_none.c	2.1 88/07/29 4.0 RPCSRC";
33
#endif
33
#endif
34
#ifdef __GLIBC__
34
#include <sys/cdefs.h>
35
#include <sys/cdefs.h>
36
#endif
35
__FBSDID("$FreeBSD: src/lib/libc/rpc/auth_none.c,v 1.12 2002/03/22 23:18:35 obrien Exp $");
37
__FBSDID("$FreeBSD: src/lib/libc/rpc/auth_none.c,v 1.12 2002/03/22 23:18:35 obrien Exp $");
36
*/
38
*/
37
39
(-)./src/crypt_client.c.orig (+2 lines)
Lines 30-36 Link Here
30
 * SUCH DAMAGE.
30
 * SUCH DAMAGE.
31
 */
31
 */
32
32
33
#ifdef __GLIBC__
33
#include <sys/cdefs.h>
34
#include <sys/cdefs.h>
35
#endif
34
36
35
#include <err.h>
37
#include <err.h>
36
#include <sys/types.h>
38
#include <sys/types.h>
(-)./src/xdr_reference.c.orig (+4 lines)
Lines 26-33 Link Here
26
 * POSSIBILITY OF SUCH DAMAGE.
26
 * POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
28
29
#ifdef __GLIBC__
29
#include <sys/cdefs.h>
30
#include <sys/cdefs.h>
31
#endif
32
#ifdef __GLIBC__
30
#include <sys/cdefs.h>
33
#include <sys/cdefs.h>
34
#endif
31
35
32
/*
36
/*
33
 * xdr_reference.c, Generic XDR routines impelmentation.
37
 * xdr_reference.c, Generic XDR routines impelmentation.
(-)./src/auth_unix.c.orig (+2 lines)
Lines 26-32 Link Here
26
 * POSSIBILITY OF SUCH DAMAGE.
26
 * POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
28
29
#ifdef __GLIBC__
29
#include <sys/cdefs.h>
30
#include <sys/cdefs.h>
31
#endif
30
32
31
/*
33
/*
32
 * auth_unix.c, Implements UNIX style authentication parameters.
34
 * auth_unix.c, Implements UNIX style authentication parameters.
(-)./src/authdes_prot.c.orig (+2 lines)
Lines 1-4 Link Here
1
#ifdef __GLIBC__
1
#include <sys/cdefs.h>
2
#include <sys/cdefs.h>
3
#endif
2
/*
4
/*
3
 * Copyright (c) 2009, Sun Microsystems, Inc.
5
 * Copyright (c) 2009, Sun Microsystems, Inc.
4
 * All rights reserved.
6
 * All rights reserved.
(-)./src/rpcb_st_xdr.c.orig (+2 lines)
Lines 35-41 Link Here
35
 * routines used with the rpcbind stats facility.
35
 * routines used with the rpcbind stats facility.
36
 */
36
 */
37
37
38
#ifdef __GLIBC__
38
#include <sys/cdefs.h>
39
#include <sys/cdefs.h>
40
#endif
39
41
40
#include <rpc/rpc.h>
42
#include <rpc/rpc.h>
41
43
(-)./src/auth_time.c.orig (+2 lines)
Lines 25-31 Link Here
25
 *	needed to deal with TCP connections.
25
 *	needed to deal with TCP connections.
26
 */
26
 */
27
27
28
#ifdef __GLIBC__
28
#include <sys/cdefs.h>
29
#include <sys/cdefs.h>
30
#endif
29
#include <stdio.h>
31
#include <stdio.h>
30
#include <syslog.h>
32
#include <syslog.h>
31
#include <string.h>
33
#include <string.h>
(-)./src/des_crypt.c.orig (+2 lines)
Lines 39-45 Link Here
39
static char sccsid[] = "@(#)des_crypt.c	2.2 88/08/10 4.0 RPCSRC; from 1.13 88/02/08 SMI";
39
static char sccsid[] = "@(#)des_crypt.c	2.2 88/08/10 4.0 RPCSRC; from 1.13 88/02/08 SMI";
40
#endif
40
#endif
41
#endif
41
#endif
42
#ifdef __GLIBC__
42
#include <sys/cdefs.h>
43
#include <sys/cdefs.h>
44
#endif
43
45
44
static int common_crypt( char *, char *, unsigned, unsigned, struct desparams * );
46
static int common_crypt( char *, char *, unsigned, unsigned, struct desparams * );
45
int (*__des_crypt_LOCAL)() = 0;
47
int (*__des_crypt_LOCAL)() = 0;
(-)./src/svc_vc.c.orig (+2 lines)
Lines 27-33 Link Here
27
 * POSSIBILITY OF SUCH DAMAGE.
27
 * POSSIBILITY OF SUCH DAMAGE.
28
 */
28
 */
29
29
30
#ifdef __GLIBC__
30
#include <sys/cdefs.h>
31
#include <sys/cdefs.h>
32
#endif
31
33
32
/*
34
/*
33
 * svc_vc.c, Server side for Connection Oriented based RPC. 
35
 * svc_vc.c, Server side for Connection Oriented based RPC. 
(-)./src/xdr_float.c.orig (+2 lines)
Lines 27-33 Link Here
27
 * POSSIBILITY OF SUCH DAMAGE.
27
 * POSSIBILITY OF SUCH DAMAGE.
28
 */
28
 */
29
29
30
#ifdef __GLIBC__
30
#include <sys/cdefs.h>
31
#include <sys/cdefs.h>
32
#endif
31
33
32
/*
34
/*
33
 * xdr_float.c, Generic XDR routines implementation.
35
 * xdr_float.c, Generic XDR routines implementation.
(-)./src/xdr_sizeof.c.orig (+2 lines)
Lines 34-40 Link Here
34
 * when serialized using XDR.
34
 * when serialized using XDR.
35
 */
35
 */
36
36
37
#ifdef __GLIBC__
37
#include <sys/cdefs.h>
38
#include <sys/cdefs.h>
39
#endif
38
40
39
#include <rpc/types.h>
41
#include <rpc/types.h>
40
#include <rpc/xdr.h>
42
#include <rpc/xdr.h>
(-)./src/xdr_array.c.orig (+2 lines)
Lines 27-33 Link Here
27
 * POSSIBILITY OF SUCH DAMAGE.
27
 * POSSIBILITY OF SUCH DAMAGE.
28
 */
28
 */
29
29
30
#ifdef __GLIBC__
30
#include <sys/cdefs.h>
31
#include <sys/cdefs.h>
32
#endif
31
33
32
/*
34
/*
33
 * xdr_array.c, Generic XDR routines impelmentation.
35
 * xdr_array.c, Generic XDR routines impelmentation.
(-)./src/rpc_generic.c.orig (+2 lines)
Lines 29-35 Link Here
29
 * Copyright (c) 1986-1991 by Sun Microsystems Inc. 
29
 * Copyright (c) 1986-1991 by Sun Microsystems Inc. 
30
 */
30
 */
31
31
32
#ifdef __GLIBC__
32
#include <sys/cdefs.h>
33
#include <sys/cdefs.h>
34
#endif
33
35
34
/*
36
/*
35
 * rpc_generic.c, Miscl routines for RPC.
37
 * rpc_generic.c, Miscl routines for RPC.
(-)./src/getpeereid.c.orig (+2 lines)
Lines 24-30 Link Here
24
 * SUCH DAMAGE.
24
 * SUCH DAMAGE.
25
 */
25
 */
26
26
27
#ifdef __GLIBC__
27
#include <sys/cdefs.h>
28
#include <sys/cdefs.h>
29
#endif
28
30
29
#include <sys/param.h>
31
#include <sys/param.h>
30
#include <sys/socket.h>
32
#include <sys/socket.h>
(-)./src/xdr_stdio.c.orig (+2 lines)
Lines 26-32 Link Here
26
 * POSSIBILITY OF SUCH DAMAGE.
26
 * POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
28
29
#ifdef __GLIBC__
29
#include <sys/cdefs.h>
30
#include <sys/cdefs.h>
31
#endif
30
32
31
/*
33
/*
32
 * xdr_stdio.c, XDR implementation on standard i/o file.
34
 * xdr_stdio.c, XDR implementation on standard i/o file.
(-)./src/clnt_bcast.c.orig (+2 lines)
Lines 28-34 Link Here
28
/*
28
/*
29
 * Copyright (c) 1986-1991 by Sun Microsystems Inc. 
29
 * Copyright (c) 1986-1991 by Sun Microsystems Inc. 
30
 */
30
 */
31
#ifdef __GLIBC__
31
#include <sys/cdefs.h>
32
#include <sys/cdefs.h>
33
#endif
32
34
33
/*
35
/*
34
 * clnt_bcast.c
36
 * clnt_bcast.c
(-)./src/xdr_mem.c.orig (+2 lines)
Lines 26-32 Link Here
26
 * POSSIBILITY OF SUCH DAMAGE.
26
 * POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
28
29
#ifdef __GLIBC__
29
#include <sys/cdefs.h>
30
#include <sys/cdefs.h>
31
#endif
30
32
31
/*
33
/*
32
 * xdr_mem.h, XDR implementation using memory buffers.
34
 * xdr_mem.h, XDR implementation using memory buffers.
(-)./src/key_call.c.orig (+2 lines)
Lines 30-36 Link Here
30
 */
30
 */
31
31
32
32
33
#ifdef __GLIBC__
33
#include <sys/cdefs.h>
34
#include <sys/cdefs.h>
35
#endif
34
36
35
/*
37
/*
36
 * key_call.c, Interface to keyserver
38
 * key_call.c, Interface to keyserver
(-)./src/svc_simple.c.orig (+2 lines)
Lines 29-35 Link Here
29
 * Copyright (c) 1986-1991 by Sun Microsystems Inc. 
29
 * Copyright (c) 1986-1991 by Sun Microsystems Inc. 
30
 */
30
 */
31
31
32
#ifdef __GLIBC__
32
#include <sys/cdefs.h>
33
#include <sys/cdefs.h>
34
#endif
33
35
34
/*
36
/*
35
 * svc_simple.c
37
 * svc_simple.c
(-)./src/mt_misc.c.orig (+2 lines)
Lines 1-5 Link Here
1
1
2
#ifdef __GLIBC__
2
#include <sys/cdefs.h>
3
#include <sys/cdefs.h>
4
#endif
3
#include <pthread.h>
5
#include <pthread.h>
4
#include <reentrant.h>
6
#include <reentrant.h>
5
#include <rpc/rpc.h>
7
#include <rpc/rpc.h>
(-)./src/authunix_prot.c.orig (+2 lines)
Lines 26-32 Link Here
26
 * POSSIBILITY OF SUCH DAMAGE.
26
 * POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
28
29
#ifdef __GLIBC__
29
#include <sys/cdefs.h>
30
#include <sys/cdefs.h>
31
#endif
30
32
31
/*
33
/*
32
 * authunix_prot.c
34
 * authunix_prot.c
(-)./src/des_soft.c.orig (-1 / +3 lines)
Lines 1-4 Link Here
1
//#include <sys/cdefs.h>
1
//#ifdef __GLIBC__
2
#include <sys/cdefs.h>
3
#endif
2
4
3
/*
5
/*
4
 * Copyright (c) 2009, Sun Microsystems, Inc.
6
 * Copyright (c) 2009, Sun Microsystems, Inc.
(-)./src/rpcdname.c.orig (+2 lines)
Lines 25-31 Link Here
25
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26
 * POSSIBILITY OF SUCH DAMAGE.
26
 * POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
#ifdef __GLIBC__
28
#include <sys/cdefs.h>
29
#include <sys/cdefs.h>
30
#endif
29
31
30
/*
32
/*
31
 * rpcdname.c
33
 * rpcdname.c
(-)./src/getnetpath.c.orig (+4 lines)
Lines 25-37 Link Here
25
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26
 * POSSIBILITY OF SUCH DAMAGE.
26
 * POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
#ifdef __GLIBC__
28
#include <sys/cdefs.h>
29
#include <sys/cdefs.h>
30
#endif
29
31
30
/*
32
/*
31
 * Copyright (c) 1989 by Sun Microsystems, Inc.
33
 * Copyright (c) 1989 by Sun Microsystems, Inc.
32
 */
34
 */
33
35
36
#ifdef __GLIBC__
34
#include <sys/cdefs.h>
37
#include <sys/cdefs.h>
38
#endif
35
#include <stdio.h>
39
#include <stdio.h>
36
#include <errno.h>
40
#include <errno.h>
37
#include <netconfig.h>
41
#include <netconfig.h>
(-)./src/svc_dg.c.orig (+2 lines)
Lines 31-37 Link Here
31
 * Copyright (c) 1986-1991 by Sun Microsystems Inc.
31
 * Copyright (c) 1986-1991 by Sun Microsystems Inc.
32
 */
32
 */
33
33
34
#ifdef __GLIBC__
34
#include <sys/cdefs.h>
35
#include <sys/cdefs.h>
36
#endif
35
37
36
/*
38
/*
37
 * svc_dg.c, Server side for connectionless RPC.
39
 * svc_dg.c, Server side for connectionless RPC.
(-)./src/rpc_com.h.orig (+2 lines)
Lines 40-46 Link Here
40
#ifndef _TIRPC_RPCCOM_H
40
#ifndef _TIRPC_RPCCOM_H
41
#define	_TIRPC_RPCCOM_H
41
#define	_TIRPC_RPCCOM_H
42
42
43
#ifdef __GLIBC__
43
#include <sys/cdefs.h>
44
#include <sys/cdefs.h>
45
#endif
44
46
45
/* #pragma ident	"@(#)rpc_com.h	1.11	93/07/05 SMI" */
47
/* #pragma ident	"@(#)rpc_com.h	1.11	93/07/05 SMI" */
46
48
(-)./src/pmap_getmaps.c.orig (+2 lines)
Lines 26-32 Link Here
26
 * POSSIBILITY OF SUCH DAMAGE.
26
 * POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
28
29
#ifdef __GLIBC__
29
#include <sys/cdefs.h>
30
#include <sys/cdefs.h>
31
#endif
30
32
31
/*
33
/*
32
 * pmap_getmap.c
34
 * pmap_getmap.c
(-)./src/pmap_clnt.c.orig (+2 lines)
Lines 26-32 Link Here
26
 * POSSIBILITY OF SUCH DAMAGE.
26
 * POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
28
29
#ifdef __GLIBC__
29
#include <sys/cdefs.h>
30
#include <sys/cdefs.h>
31
#endif
30
32
31
/*
33
/*
32
 * pmap_clnt.c
34
 * pmap_clnt.c
(-)./src/bindresvport.c.orig (+2 lines)
Lines 26-32 Link Here
26
 * POSSIBILITY OF SUCH DAMAGE.
26
 * POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
28
29
#ifdef __GLIBC__
29
#include <sys/cdefs.h>
30
#include <sys/cdefs.h>
31
#endif
30
32
31
/*
33
/*
32
 * Copyright (c) 1987 by Sun Microsystems, Inc.
34
 * Copyright (c) 1987 by Sun Microsystems, Inc.
(-)./src/xdr_rec.c.orig (+4 lines)
Lines 27-34 Link Here
27
 * POSSIBILITY OF SUCH DAMAGE.
27
 * POSSIBILITY OF SUCH DAMAGE.
28
 */
28
 */
29
29
30
#ifdef __GLIBC__
30
#include <sys/cdefs.h>
31
#include <sys/cdefs.h>
32
#endif
33
#ifdef __GLIBC__
31
#include <sys/cdefs.h>
34
#include <sys/cdefs.h>
35
#endif
32
36
33
/*
37
/*
34
 * xdr_rec.c, Implements TCP/IP based XDR streams with a "record marking"
38
 * xdr_rec.c, Implements TCP/IP based XDR streams with a "record marking"
(-)./src/clnt_perror.c.orig (+2 lines)
Lines 27-33 Link Here
27
 */
27
 */
28
28
29
/*
29
/*
30
#ifdef __GLIBC__
30
#include <sys/cdefs.h>
31
#include <sys/cdefs.h>
32
#endif
31
*/
33
*/
32
/*
34
/*
33
 * clnt_perror.c
35
 * clnt_perror.c
(-)./src/key_prot_xdr.c.orig (+2 lines)
Lines 33-39 Link Here
33
 */
33
 */
34
/* Copyright (c)  1990, 1991 Sun Microsystems, Inc. */
34
/* Copyright (c)  1990, 1991 Sun Microsystems, Inc. */
35
35
36
#ifdef __GLIBC__
36
#include <sys/cdefs.h>
37
#include <sys/cdefs.h>
38
#endif
37
39
38
/* 
40
/* 
39
 * Compiled from key_prot.x using rpcgen.
41
 * Compiled from key_prot.x using rpcgen.
(-)./src/getnetconfig.c.orig (+2 lines)
Lines 32-38 Link Here
32
 
32
 
33
#include <pthread.h>
33
#include <pthread.h>
34
#include <reentrant.h>
34
#include <reentrant.h>
35
#ifdef __GLIBC__
35
#include <sys/cdefs.h>
36
#include <sys/cdefs.h>
37
#endif
36
#include <stdio.h>
38
#include <stdio.h>
37
#include <errno.h>
39
#include <errno.h>
38
#include <netconfig.h>
40
#include <netconfig.h>
(-)./src/getpublickey.c.orig (+2 lines)
Lines 26-32 Link Here
26
 * POSSIBILITY OF SUCH DAMAGE.
26
 * POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
/*
28
/*
29
#ifdef __GLIBC__
29
#include <sys/cdefs.h>
30
#include <sys/cdefs.h>
31
#endif
30
*/
32
*/
31
33
32
/*
34
/*
(-)./src/clnt_simple.c.orig (+2 lines)
Lines 29-35 Link Here
29
 * Copyright (c) 1986-1991 by Sun Microsystems Inc. 
29
 * Copyright (c) 1986-1991 by Sun Microsystems Inc. 
30
 */
30
 */
31
31
32
#ifdef __GLIBC__
32
#include <sys/cdefs.h>
33
#include <sys/cdefs.h>
34
#endif
33
35
34
/*
36
/*
35
 * clnt_simple.c
37
 * clnt_simple.c
(-)./src/auth_des.c.orig (+4 lines)
Lines 38-44 Link Here
38
#include <string.h>
38
#include <string.h>
39
#include <stdlib.h>
39
#include <stdlib.h>
40
#include <unistd.h>
40
#include <unistd.h>
41
#ifdef __GLIBC__
41
#include <sys/cdefs.h>
42
#include <sys/cdefs.h>
43
#endif
42
#include <rpc/des_crypt.h>
44
#include <rpc/des_crypt.h>
43
#include <syslog.h>
45
#include <syslog.h>
44
#include <rpc/types.h>
46
#include <rpc/types.h>
Lines 52-58 Link Here
52
54
53
#if defined(LIBC_SCCS) && !defined(lint)
55
#if defined(LIBC_SCCS) && !defined(lint)
54
#endif
56
#endif
57
#ifdef __GLIBC__
55
#include <sys/cdefs.h>
58
#include <sys/cdefs.h>
59
#endif
56
60
57
#include "debug.h"
61
#include "debug.h"
58
62
(-)./src/xdr.c.orig (+2 lines)
Lines 26-32 Link Here
26
 * POSSIBILITY OF SUCH DAMAGE.
26
 * POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
28
29
#ifdef __GLIBC__
29
#include <sys/cdefs.h>
30
#include <sys/cdefs.h>
31
#endif
30
32
31
/*
33
/*
32
 * xdr.c, Generic XDR routines implementation.
34
 * xdr.c, Generic XDR routines implementation.

Return to bug 530080