summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2010-03-28 02:40:16 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2010-03-28 02:40:16 +0000
commit37da47ac8e43a8fc78e504308f8c51da39fabf1e (patch)
tree83f683dfe79ef975e8a14dc723e790b9d1df5d9d
parent2010-03-28 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-37da47ac8e43a8fc78e504308f8c51da39fabf1e.tar.bz2
Add HAVE_CONFIG_H support to let files receive configure defines.
-rw-r--r--cpukit/librpc/src/rpc/auth_none.c4
-rw-r--r--cpukit/librpc/src/rpc/auth_unix.c4
-rw-r--r--cpukit/librpc/src/rpc/authunix_prot.c4
-rw-r--r--cpukit/librpc/src/rpc/bindresvport.c4
-rw-r--r--cpukit/librpc/src/rpc/clnt_generic.c4
-rw-r--r--cpukit/librpc/src/rpc/clnt_perror.c5
-rw-r--r--cpukit/librpc/src/rpc/clnt_raw.c4
-rw-r--r--cpukit/librpc/src/rpc/clnt_simple.c4
-rw-r--r--cpukit/librpc/src/rpc/clnt_tcp.c4
-rw-r--r--cpukit/librpc/src/rpc/clnt_udp.c4
-rw-r--r--cpukit/librpc/src/rpc/get_myaddress.c4
-rw-r--r--cpukit/librpc/src/rpc/getrpcent.c4
-rw-r--r--cpukit/librpc/src/rpc/getrpcport.c4
-rw-r--r--cpukit/librpc/src/rpc/netname.c4
-rw-r--r--cpukit/librpc/src/rpc/netnamer.c4
-rw-r--r--cpukit/librpc/src/rpc/pmap_clnt.c4
-rw-r--r--cpukit/librpc/src/rpc/pmap_getmaps.c4
-rw-r--r--cpukit/librpc/src/rpc/pmap_getport.c4
-rw-r--r--cpukit/librpc/src/rpc/pmap_prot.c4
-rw-r--r--cpukit/librpc/src/rpc/pmap_prot2.c4
-rw-r--r--cpukit/librpc/src/rpc/pmap_rmt.c4
-rw-r--r--cpukit/librpc/src/rpc/rpc_callmsg.c4
-rw-r--r--cpukit/librpc/src/rpc/rpc_commondata.c4
-rw-r--r--cpukit/librpc/src/rpc/rpc_dtablesize.c4
-rw-r--r--cpukit/librpc/src/rpc/rpc_prot.c4
-rw-r--r--cpukit/librpc/src/rpc/rpcdname.c4
-rw-r--r--cpukit/librpc/src/rpc/rtems_portmapper.c4
-rw-r--r--cpukit/librpc/src/rpc/rtems_rpc.c4
-rw-r--r--cpukit/librpc/src/rpc/rtime.c5
-rw-r--r--cpukit/librpc/src/rpc/svc.c4
-rw-r--r--cpukit/librpc/src/rpc/svc_auth.c4
-rw-r--r--cpukit/librpc/src/rpc/svc_auth_unix.c4
-rw-r--r--cpukit/librpc/src/rpc/svc_raw.c4
-rw-r--r--cpukit/librpc/src/rpc/svc_run.c5
-rw-r--r--cpukit/librpc/src/rpc/svc_simple.c4
-rw-r--r--cpukit/librpc/src/rpc/svc_tcp.c4
-rw-r--r--cpukit/librpc/src/rpc/svc_udp.c4
-rw-r--r--cpukit/librpc/src/xdr/xdr.c4
-rw-r--r--cpukit/librpc/src/xdr/xdr_array.c4
-rw-r--r--cpukit/librpc/src/xdr/xdr_float.c4
-rw-r--r--cpukit/librpc/src/xdr/xdr_mem.c4
-rw-r--r--cpukit/librpc/src/xdr/xdr_rec.c4
-rw-r--r--cpukit/librpc/src/xdr/xdr_reference.c4
-rw-r--r--cpukit/librpc/src/xdr/xdr_sizeof.c4
-rw-r--r--cpukit/librpc/src/xdr/xdr_stdio.c4
45 files changed, 183 insertions, 0 deletions
diff --git a/cpukit/librpc/src/rpc/auth_none.c b/cpukit/librpc/src/rpc/auth_none.c
index d88d150977..48b3741df7 100644
--- a/cpukit/librpc/src/rpc/auth_none.c
+++ b/cpukit/librpc/src/rpc/auth_none.c
@@ -41,6 +41,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/auth_none.c,v 1.9 1999/08/28 00
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <rpc/types.h>
#include <rpc/xdr.h>
diff --git a/cpukit/librpc/src/rpc/auth_unix.c b/cpukit/librpc/src/rpc/auth_unix.c
index 81df5a4904..67d3962bae 100644
--- a/cpukit/librpc/src/rpc/auth_unix.c
+++ b/cpukit/librpc/src/rpc/auth_unix.c
@@ -45,6 +45,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/auth_unix.c,v 1.12 1999/12/29 0
*
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/cpukit/librpc/src/rpc/authunix_prot.c b/cpukit/librpc/src/rpc/authunix_prot.c
index fcabfc38bf..84acf46c6b 100644
--- a/cpukit/librpc/src/rpc/authunix_prot.c
+++ b/cpukit/librpc/src/rpc/authunix_prot.c
@@ -41,6 +41,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/authunix_prot.c,v 1.6 1999/08/2
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rpc/types.h>
#include <rpc/xdr.h>
#include <rpc/auth.h>
diff --git a/cpukit/librpc/src/rpc/bindresvport.c b/cpukit/librpc/src/rpc/bindresvport.c
index 8f949c8d90..849d664f33 100644
--- a/cpukit/librpc/src/rpc/bindresvport.c
+++ b/cpukit/librpc/src/rpc/bindresvport.c
@@ -42,6 +42,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/bindresvport.c,v 1.12 2000/01/2
* Portions Copyright(C) 1996, Jason Downs. All rights reserved.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <sys/socket.h>
diff --git a/cpukit/librpc/src/rpc/clnt_generic.c b/cpukit/librpc/src/rpc/clnt_generic.c
index b27804228d..4abaca1456 100644
--- a/cpukit/librpc/src/rpc/clnt_generic.c
+++ b/cpukit/librpc/src/rpc/clnt_generic.c
@@ -36,6 +36,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/clnt_generic.c,v 1.9 1999/08/28
/*
* Copyright (C) 1987, Sun Microsystems, Inc.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rpc/rpc.h>
#include <sys/socket.h>
#include <sys/errno.h>
diff --git a/cpukit/librpc/src/rpc/clnt_perror.c b/cpukit/librpc/src/rpc/clnt_perror.c
index 1a644fcfc9..1d2cfc0b40 100644
--- a/cpukit/librpc/src/rpc/clnt_perror.c
+++ b/cpukit/librpc/src/rpc/clnt_perror.c
@@ -39,6 +39,11 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/clnt_perror.c,v 1.11 1999/08/28
* Copyright (C) 1984, Sun Microsystems, Inc.
*
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/cpukit/librpc/src/rpc/clnt_raw.c b/cpukit/librpc/src/rpc/clnt_raw.c
index 9f4f95a1bd..eb329b1467 100644
--- a/cpukit/librpc/src/rpc/clnt_raw.c
+++ b/cpukit/librpc/src/rpc/clnt_raw.c
@@ -44,6 +44,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/clnt_raw.c,v 1.10 1999/08/28 00
* any interference from the kernal.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rpc/rpc.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/cpukit/librpc/src/rpc/clnt_simple.c b/cpukit/librpc/src/rpc/clnt_simple.c
index 7e4c161a5e..3cf17b4350 100644
--- a/cpukit/librpc/src/rpc/clnt_simple.c
+++ b/cpukit/librpc/src/rpc/clnt_simple.c
@@ -40,6 +40,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/clnt_simple.c,v 1.12 2000/01/27
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/param.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/cpukit/librpc/src/rpc/clnt_tcp.c b/cpukit/librpc/src/rpc/clnt_tcp.c
index c3e2312914..5588eec30a 100644
--- a/cpukit/librpc/src/rpc/clnt_tcp.c
+++ b/cpukit/librpc/src/rpc/clnt_tcp.c
@@ -52,6 +52,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/clnt_tcp.c,v 1.14 2000/01/27 23
* Now go hang yourself.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/cpukit/librpc/src/rpc/clnt_udp.c b/cpukit/librpc/src/rpc/clnt_udp.c
index 03fc1b68a7..623500fb75 100644
--- a/cpukit/librpc/src/rpc/clnt_udp.c
+++ b/cpukit/librpc/src/rpc/clnt_udp.c
@@ -39,6 +39,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/clnt_udp.c,v 1.15 2000/01/27 23
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/cpukit/librpc/src/rpc/get_myaddress.c b/cpukit/librpc/src/rpc/get_myaddress.c
index 60357cff8f..0804c85e67 100644
--- a/cpukit/librpc/src/rpc/get_myaddress.c
+++ b/cpukit/librpc/src/rpc/get_myaddress.c
@@ -40,6 +40,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/get_myaddress.c,v 1.17 2000/01/
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rpc/types.h>
#include <rpc/xdr.h>
#include <rpc/pmap_prot.h>
diff --git a/cpukit/librpc/src/rpc/getrpcent.c b/cpukit/librpc/src/rpc/getrpcent.c
index 27ff4d3c14..fdd0f88ec2 100644
--- a/cpukit/librpc/src/rpc/getrpcent.c
+++ b/cpukit/librpc/src/rpc/getrpcent.c
@@ -37,6 +37,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/getrpcent.c,v 1.10 1999/08/28 0
* Copyright (c) 1984 by Sun Microsystems, Inc.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
diff --git a/cpukit/librpc/src/rpc/getrpcport.c b/cpukit/librpc/src/rpc/getrpcport.c
index 6eaa5d80f7..f783bac29b 100644
--- a/cpukit/librpc/src/rpc/getrpcport.c
+++ b/cpukit/librpc/src/rpc/getrpcport.c
@@ -37,6 +37,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/getrpcport.c,v 1.10 1999/08/28
* Copyright (c) 1985 by Sun Microsystems, Inc.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <string.h>
#include <rpc/rpc.h>
diff --git a/cpukit/librpc/src/rpc/netname.c b/cpukit/librpc/src/rpc/netname.c
index 4c9584a109..e75ef73725 100644
--- a/cpukit/librpc/src/rpc/netname.c
+++ b/cpukit/librpc/src/rpc/netname.c
@@ -39,6 +39,10 @@ static char sccsid[] = "@(#)netname.c 1.8 91/03/11 Copyr 1986 Sun Micro";
* the sun NIS domain architecture.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/param.h>
#include <rpc/rpc.h>
#include <rpc/rpc_com.h>
diff --git a/cpukit/librpc/src/rpc/netnamer.c b/cpukit/librpc/src/rpc/netnamer.c
index 82bc3c8ed7..aa9397e03c 100644
--- a/cpukit/librpc/src/rpc/netnamer.c
+++ b/cpukit/librpc/src/rpc/netnamer.c
@@ -36,6 +36,10 @@ static char sccsid[] = "@(#)netnamer.c 1.13 91/03/11 Copyr 1986 Sun Micro";
* will work with any unix system that has adopted the sun NIS domain
* architecture.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/param.h>
#include <rpc/rpc.h>
#include <rpc/rpc_com.h>
diff --git a/cpukit/librpc/src/rpc/pmap_clnt.c b/cpukit/librpc/src/rpc/pmap_clnt.c
index 5058e19699..8dcb1824f3 100644
--- a/cpukit/librpc/src/rpc/pmap_clnt.c
+++ b/cpukit/librpc/src/rpc/pmap_clnt.c
@@ -40,6 +40,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/pmap_clnt.c,v 1.11 2000/01/27 2
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
diff --git a/cpukit/librpc/src/rpc/pmap_getmaps.c b/cpukit/librpc/src/rpc/pmap_getmaps.c
index f917178c15..83514644e4 100644
--- a/cpukit/librpc/src/rpc/pmap_getmaps.c
+++ b/cpukit/librpc/src/rpc/pmap_getmaps.c
@@ -41,6 +41,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/pmap_getmaps.c,v 1.11 2000/01/2
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rpc/rpc.h>
#include <rpc/pmap_prot.h>
#include <rpc/pmap_clnt.h>
diff --git a/cpukit/librpc/src/rpc/pmap_getport.c b/cpukit/librpc/src/rpc/pmap_getport.c
index 9692a0fd92..405d5ec546 100644
--- a/cpukit/librpc/src/rpc/pmap_getport.c
+++ b/cpukit/librpc/src/rpc/pmap_getport.c
@@ -40,6 +40,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/pmap_getport.c,v 1.10 2000/01/2
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rpc/rpc.h>
#include <rpc/pmap_prot.h>
#include <rpc/pmap_clnt.h>
diff --git a/cpukit/librpc/src/rpc/pmap_prot.c b/cpukit/librpc/src/rpc/pmap_prot.c
index 805bfc79be..30aedce444 100644
--- a/cpukit/librpc/src/rpc/pmap_prot.c
+++ b/cpukit/librpc/src/rpc/pmap_prot.c
@@ -40,6 +40,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/pmap_prot.c,v 1.6 1999/08/28 00
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rpc/types.h>
#include <rpc/xdr.h>
#include <rpc/pmap_prot.h>
diff --git a/cpukit/librpc/src/rpc/pmap_prot2.c b/cpukit/librpc/src/rpc/pmap_prot2.c
index c48942d84e..208c8a412a 100644
--- a/cpukit/librpc/src/rpc/pmap_prot2.c
+++ b/cpukit/librpc/src/rpc/pmap_prot2.c
@@ -40,6 +40,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/pmap_prot2.c,v 1.7 1999/08/28 0
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rpc/types.h>
#include <rpc/xdr.h>
#include <rpc/pmap_prot.h>
diff --git a/cpukit/librpc/src/rpc/pmap_rmt.c b/cpukit/librpc/src/rpc/pmap_rmt.c
index ccb261e2f3..59c7ddd8d2 100644
--- a/cpukit/librpc/src/rpc/pmap_rmt.c
+++ b/cpukit/librpc/src/rpc/pmap_rmt.c
@@ -41,6 +41,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/pmap_rmt.c,v 1.15 2000/01/27 23
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/ioctl.h>
#include <sys/socket.h>
diff --git a/cpukit/librpc/src/rpc/rpc_callmsg.c b/cpukit/librpc/src/rpc/rpc_callmsg.c
index 7f8ef2ee66..b44ebb4a36 100644
--- a/cpukit/librpc/src/rpc/rpc_callmsg.c
+++ b/cpukit/librpc/src/rpc/rpc_callmsg.c
@@ -40,6 +40,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/rpc_callmsg.c,v 1.9 1999/08/28
*
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/param.h>
#include <stdlib.h>
#include <string.h>
diff --git a/cpukit/librpc/src/rpc/rpc_commondata.c b/cpukit/librpc/src/rpc/rpc_commondata.c
index bbe6003337..ad22568446 100644
--- a/cpukit/librpc/src/rpc/rpc_commondata.c
+++ b/cpukit/librpc/src/rpc/rpc_commondata.c
@@ -32,6 +32,10 @@
static char *rcsid = "$FreeBSD: src/lib/libc/rpc/rpc_commondata.c,v 1.7 1999/08/28 00:00:45 peter Exp $";
#endif
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rpc/rpc.h>
/*
* This file should only contain common data (global data) that is exported
diff --git a/cpukit/librpc/src/rpc/rpc_dtablesize.c b/cpukit/librpc/src/rpc/rpc_dtablesize.c
index e07c0b6568..65f295315e 100644
--- a/cpukit/librpc/src/rpc/rpc_dtablesize.c
+++ b/cpukit/librpc/src/rpc/rpc_dtablesize.c
@@ -33,6 +33,10 @@
static char *rcsid = "$FreeBSD: src/lib/libc/rpc/rpc_dtablesize.c,v 1.10 1999/08/28 00:00:45 peter Exp $";
#endif
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <unistd.h>
diff --git a/cpukit/librpc/src/rpc/rpc_prot.c b/cpukit/librpc/src/rpc/rpc_prot.c
index 727fe8b27c..0793c4867e 100644
--- a/cpukit/librpc/src/rpc/rpc_prot.c
+++ b/cpukit/librpc/src/rpc/rpc_prot.c
@@ -46,6 +46,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/rpc_prot.c,v 1.8 1999/08/28 00:
* routines are also in this program.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/param.h>
#include <rpc/rpc.h>
diff --git a/cpukit/librpc/src/rpc/rpcdname.c b/cpukit/librpc/src/rpc/rpcdname.c
index 776ddd848e..6482a74493 100644
--- a/cpukit/librpc/src/rpc/rpcdname.c
+++ b/cpukit/librpc/src/rpc/rpcdname.c
@@ -36,6 +36,10 @@ static char sccsid[] = "@(#)rpcdname.c 1.7 91/03/11 Copyr 1989 Sun Micro";
* Gets the default domain name
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
diff --git a/cpukit/librpc/src/rpc/rtems_portmapper.c b/cpukit/librpc/src/rpc/rtems_portmapper.c
index dff0ec7cde..1fc035543f 100644
--- a/cpukit/librpc/src/rpc/rtems_portmapper.c
+++ b/cpukit/librpc/src/rpc/rtems_portmapper.c
@@ -27,6 +27,10 @@
* Mountain View, California 94043
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rpc/rpc.h>
#include <rpc/pmap_prot.h>
#include <stdio.h>
diff --git a/cpukit/librpc/src/rpc/rtems_rpc.c b/cpukit/librpc/src/rpc/rtems_rpc.c
index d13455703e..1a8f861e88 100644
--- a/cpukit/librpc/src/rpc/rtems_rpc.c
+++ b/cpukit/librpc/src/rpc/rtems_rpc.c
@@ -4,6 +4,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rpc/rpc.h>
#include <rtems.h>
#include <stdlib.h>
diff --git a/cpukit/librpc/src/rpc/rtime.c b/cpukit/librpc/src/rpc/rtime.c
index 99a2af37fa..af63d5b8e4 100644
--- a/cpukit/librpc/src/rpc/rtime.c
+++ b/cpukit/librpc/src/rpc/rtime.c
@@ -41,6 +41,11 @@
* subtract seconds before Jan 1, 1970 to get
* what unix uses.
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/cpukit/librpc/src/rpc/svc.c b/cpukit/librpc/src/rpc/svc.c
index 4b84b7b4ec..759931e258 100644
--- a/cpukit/librpc/src/rpc/svc.c
+++ b/cpukit/librpc/src/rpc/svc.c
@@ -43,6 +43,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/svc.c,v 1.14 1999/08/28 00:00:4
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <string.h>
#include <stdlib.h>
#include <sys/errno.h>
diff --git a/cpukit/librpc/src/rpc/svc_auth.c b/cpukit/librpc/src/rpc/svc_auth.c
index b2026e87b9..b498a9c0dd 100644
--- a/cpukit/librpc/src/rpc/svc_auth.c
+++ b/cpukit/librpc/src/rpc/svc_auth.c
@@ -46,6 +46,10 @@ static const char rcsid[] =
*
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifdef _KERNEL
#include <sys/param.h>
#include <rpc/types.h>
diff --git a/cpukit/librpc/src/rpc/svc_auth_unix.c b/cpukit/librpc/src/rpc/svc_auth_unix.c
index 09fb1f8c6b..ce395998bd 100644
--- a/cpukit/librpc/src/rpc/svc_auth_unix.c
+++ b/cpukit/librpc/src/rpc/svc_auth_unix.c
@@ -44,6 +44,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/svc_auth_unix.c,v 1.8 1999/08/2
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <string.h>
#include <rpc/rpc.h>
diff --git a/cpukit/librpc/src/rpc/svc_raw.c b/cpukit/librpc/src/rpc/svc_raw.c
index ebd03da5e4..4685370e7a 100644
--- a/cpukit/librpc/src/rpc/svc_raw.c
+++ b/cpukit/librpc/src/rpc/svc_raw.c
@@ -42,6 +42,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/svc_raw.c,v 1.7 1999/08/28 00:0
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rpc/rpc.h>
#include <stdlib.h>
diff --git a/cpukit/librpc/src/rpc/svc_run.c b/cpukit/librpc/src/rpc/svc_run.c
index c5dda4ab16..963aa0d80b 100644
--- a/cpukit/librpc/src/rpc/svc_run.c
+++ b/cpukit/librpc/src/rpc/svc_run.c
@@ -37,6 +37,11 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/svc_run.c,v 1.10 1999/08/28 00:
* This is the rpc server side idle loop
* Wait for input, call server program.
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rpc/rpc.h>
#include <stdio.h>
#include <sys/errno.h>
diff --git a/cpukit/librpc/src/rpc/svc_simple.c b/cpukit/librpc/src/rpc/svc_simple.c
index ddebfd279b..30f213db83 100644
--- a/cpukit/librpc/src/rpc/svc_simple.c
+++ b/cpukit/librpc/src/rpc/svc_simple.c
@@ -40,6 +40,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/svc_simple.c,v 1.9 1999/08/28 0
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/cpukit/librpc/src/rpc/svc_tcp.c b/cpukit/librpc/src/rpc/svc_tcp.c
index f2bf383e8b..0f87080b74 100644
--- a/cpukit/librpc/src/rpc/svc_tcp.c
+++ b/cpukit/librpc/src/rpc/svc_tcp.c
@@ -43,6 +43,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/svc_tcp.c,v 1.18 2000/01/27 23:
* and a record/tcp stream.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/cpukit/librpc/src/rpc/svc_udp.c b/cpukit/librpc/src/rpc/svc_udp.c
index 5580ad89aa..8b7e1677f2 100644
--- a/cpukit/librpc/src/rpc/svc_udp.c
+++ b/cpukit/librpc/src/rpc/svc_udp.c
@@ -41,6 +41,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/svc_udp.c,v 1.13 2000/01/27 23:
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/cpukit/librpc/src/xdr/xdr.c b/cpukit/librpc/src/xdr/xdr.c
index a27ac17552..02631e60ef 100644
--- a/cpukit/librpc/src/xdr/xdr.c
+++ b/cpukit/librpc/src/xdr/xdr.c
@@ -43,6 +43,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/xdr/xdr.c,v 1.9 1999/08/28 00:02:55
* xdr.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/cpukit/librpc/src/xdr/xdr_array.c b/cpukit/librpc/src/xdr/xdr_array.c
index 1a514912c3..190dc3cf87 100644
--- a/cpukit/librpc/src/xdr/xdr_array.c
+++ b/cpukit/librpc/src/xdr/xdr_array.c
@@ -42,6 +42,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/xdr/xdr_array.c,v 1.8 1999/08/28 00
* arrays. See xdr.h for more info on the interface to xdr.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/cpukit/librpc/src/xdr/xdr_float.c b/cpukit/librpc/src/xdr/xdr_float.c
index d035f7189b..544a52b193 100644
--- a/cpukit/librpc/src/xdr/xdr_float.c
+++ b/cpukit/librpc/src/xdr/xdr_float.c
@@ -43,6 +43,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/xdr/xdr_float.c,v 1.7 1999/08/28 00
* xdr.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <sys/types.h>
#include <sys/param.h>
diff --git a/cpukit/librpc/src/xdr/xdr_mem.c b/cpukit/librpc/src/xdr/xdr_mem.c
index 65a90f5dbe..3d8501ec78 100644
--- a/cpukit/librpc/src/xdr/xdr_mem.c
+++ b/cpukit/librpc/src/xdr/xdr_mem.c
@@ -44,6 +44,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/xdr/xdr_mem.c,v 1.8 1999/08/28 00:0
*
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <string.h>
#include <rpc/types.h>
#include <rpc/xdr.h>
diff --git a/cpukit/librpc/src/xdr/xdr_rec.c b/cpukit/librpc/src/xdr/xdr_rec.c
index d43b5bee9f..7e47527d3c 100644
--- a/cpukit/librpc/src/xdr/xdr_rec.c
+++ b/cpukit/librpc/src/xdr/xdr_rec.c
@@ -49,6 +49,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/xdr/xdr_rec.c,v 1.12 2000/01/19 06:
* The other 31 bits encode the byte length of the fragment.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/cpukit/librpc/src/xdr/xdr_reference.c b/cpukit/librpc/src/xdr/xdr_reference.c
index 80d03392e6..a2a6ee5135 100644
--- a/cpukit/librpc/src/xdr/xdr_reference.c
+++ b/cpukit/librpc/src/xdr/xdr_reference.c
@@ -42,6 +42,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/xdr/xdr_reference.c,v 1.8 1999/08/2
* "pointers". See xdr.h for more info on the interface to xdr.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/cpukit/librpc/src/xdr/xdr_sizeof.c b/cpukit/librpc/src/xdr/xdr_sizeof.c
index 190af72bc5..72a7ff979d 100644
--- a/cpukit/librpc/src/xdr/xdr_sizeof.c
+++ b/cpukit/librpc/src/xdr/xdr_sizeof.c
@@ -35,6 +35,10 @@
* when serialized using XDR.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rpc/types.h>
#include <rpc/xdr.h>
#include <sys/types.h>
diff --git a/cpukit/librpc/src/xdr/xdr_stdio.c b/cpukit/librpc/src/xdr/xdr_stdio.c
index b7a6a649de..ca67941eb2 100644
--- a/cpukit/librpc/src/xdr/xdr_stdio.c
+++ b/cpukit/librpc/src/xdr/xdr_stdio.c
@@ -43,6 +43,10 @@ static char *rcsid = "$FreeBSD: src/lib/libc/xdr/xdr_stdio.c,v 1.7 1999/08/28 00
* from the stream.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rpc/types.h>
#include <stdio.h>
#include <rpc/xdr.h>