[rtems commit] rpc: Use configuration header file

Sebastian Huber sebh at rtems.org
Thu Oct 4 08:50:10 UTC 2018


Module:    rtems
Branch:    master
Commit:    e069f7fe566f93e50d2559c04ff31cc334748e51
Changeset: http://git.rtems.org/rtems/commit/?id=e069f7fe566f93e50d2559c04ff31cc334748e51

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Sep 10 06:27:10 2018 +0200

rpc: Use configuration header file

Update #3375.

---

 cpukit/librpc/Makefile.am                |  5 +---
 cpukit/librpc/src/rpc/auth_none.c        |  2 ++
 cpukit/librpc/src/rpc/auth_unix.c        |  2 ++
 cpukit/librpc/src/rpc/authunix_prot.c    |  2 ++
 cpukit/librpc/src/rpc/bindresvport.c     |  2 ++
 cpukit/librpc/src/rpc/clnt_generic.c     |  2 ++
 cpukit/librpc/src/rpc/clnt_perror.c      |  2 ++
 cpukit/librpc/src/rpc/clnt_raw.c         |  2 ++
 cpukit/librpc/src/rpc/clnt_simple.c      |  2 ++
 cpukit/librpc/src/rpc/clnt_tcp.c         |  2 ++
 cpukit/librpc/src/rpc/clnt_udp.c         |  2 ++
 cpukit/librpc/src/rpc/get_myaddress.c    |  2 ++
 cpukit/librpc/src/rpc/getrpcent.c        |  2 ++
 cpukit/librpc/src/rpc/getrpcport.c       |  2 ++
 cpukit/librpc/src/rpc/netname.c          |  2 ++
 cpukit/librpc/src/rpc/netnamer.c         |  2 ++
 cpukit/librpc/src/rpc/pmap_clnt.c        |  2 ++
 cpukit/librpc/src/rpc/pmap_getmaps.c     |  2 ++
 cpukit/librpc/src/rpc/pmap_getport.c     |  2 ++
 cpukit/librpc/src/rpc/pmap_prot.c        |  2 ++
 cpukit/librpc/src/rpc/pmap_prot2.c       |  2 ++
 cpukit/librpc/src/rpc/pmap_rmt.c         |  2 ++
 cpukit/librpc/src/rpc/rpc_callmsg.c      |  2 ++
 cpukit/librpc/src/rpc/rpc_commondata.c   |  2 ++
 cpukit/librpc/src/rpc/rpc_dtablesize.c   |  2 ++
 cpukit/librpc/src/rpc/rpc_prot.c         |  2 ++
 cpukit/librpc/src/rpc/rpcdname.c         |  2 ++
 cpukit/librpc/src/rpc/rtems-rpc-config.h | 40 ++++++++++++++++++++++++++++++++
 cpukit/librpc/src/rpc/rtems_portmapper.c |  2 ++
 cpukit/librpc/src/rpc/rtems_rpc.c        |  2 ++
 cpukit/librpc/src/rpc/rtime.c            |  2 ++
 cpukit/librpc/src/rpc/svc.c              |  2 ++
 cpukit/librpc/src/rpc/svc_auth.c         |  2 ++
 cpukit/librpc/src/rpc/svc_auth_unix.c    |  2 ++
 cpukit/librpc/src/rpc/svc_raw.c          |  2 ++
 cpukit/librpc/src/rpc/svc_run.c          |  2 ++
 cpukit/librpc/src/rpc/svc_simple.c       |  2 ++
 cpukit/librpc/src/rpc/svc_tcp.c          |  2 ++
 cpukit/librpc/src/rpc/svc_udp.c          |  2 ++
 39 files changed, 115 insertions(+), 4 deletions(-)

diff --git a/cpukit/librpc/Makefile.am b/cpukit/librpc/Makefile.am
index eb49828..b0af51b 100644
--- a/cpukit/librpc/Makefile.am
+++ b/cpukit/librpc/Makefile.am
@@ -19,7 +19,7 @@ if LIBNETWORKING
 man_MANS += $(libxdr_mans)
 
 noinst_LIBRARIES += librpc.a
-librpc_a_CPPFLAGS = $(AM_CPPFLAGS) $(librpc_CPPFLAGS)
+librpc_a_CPPFLAGS = $(AM_CPPFLAGS)
 
 librpc_a_SOURCES = src/rpc/auth_none.c src/rpc/auth_unix.c \
     src/rpc/authunix_prot.c src/rpc/bindresvport.c src/rpc/clnt_generic.c \
@@ -34,9 +34,6 @@ librpc_a_SOURCES = src/rpc/auth_none.c src/rpc/auth_unix.c \
     src/rpc/svc_raw.c src/rpc/svc_run.c src/rpc/svc_simple.c \
     src/rpc/svc_tcp.c src/rpc/svc_udp.c src/rpc/rtems_portmapper.c \
     src/rpc/rtems_rpc.c
-
-librpc_CPPFLAGS = -D_RPC_read=read -D_RPC_write=write -D_RPC_close=close \
-    -D_RTEMS_RPC_INTERNAL_
 endif
 
 librpc_mans = src/rpc/bindresvport.3 src/rpc/getrpcent.3 src/rpc/publickey.3 \
diff --git a/cpukit/librpc/src/rpc/auth_none.c b/cpukit/librpc/src/rpc/auth_none.c
index 48b3741..535749c 100644
--- a/cpukit/librpc/src/rpc/auth_none.c
+++ b/cpukit/librpc/src/rpc/auth_none.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/auth_unix.c b/cpukit/librpc/src/rpc/auth_unix.c
index 67d3962..99f5920 100644
--- a/cpukit/librpc/src/rpc/auth_unix.c
+++ b/cpukit/librpc/src/rpc/auth_unix.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/authunix_prot.c b/cpukit/librpc/src/rpc/authunix_prot.c
index 84acf46..9dc867a 100644
--- a/cpukit/librpc/src/rpc/authunix_prot.c
+++ b/cpukit/librpc/src/rpc/authunix_prot.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/bindresvport.c b/cpukit/librpc/src/rpc/bindresvport.c
index 849d664..1c979de 100644
--- a/cpukit/librpc/src/rpc/bindresvport.c
+++ b/cpukit/librpc/src/rpc/bindresvport.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*	$NetBSD: bindresvport.c,v 1.19 2000/07/06 03:03:59 christos Exp $	*/
 
 /*
diff --git a/cpukit/librpc/src/rpc/clnt_generic.c b/cpukit/librpc/src/rpc/clnt_generic.c
index 232af02..6d97dfb 100644
--- a/cpukit/librpc/src/rpc/clnt_generic.c
+++ b/cpukit/librpc/src/rpc/clnt_generic.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/clnt_perror.c b/cpukit/librpc/src/rpc/clnt_perror.c
index 1d2cfc0b..121ebc9 100644
--- a/cpukit/librpc/src/rpc/clnt_perror.c
+++ b/cpukit/librpc/src/rpc/clnt_perror.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/clnt_raw.c b/cpukit/librpc/src/rpc/clnt_raw.c
index c522cec..8682622 100644
--- a/cpukit/librpc/src/rpc/clnt_raw.c
+++ b/cpukit/librpc/src/rpc/clnt_raw.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/clnt_simple.c b/cpukit/librpc/src/rpc/clnt_simple.c
index 3cf17b4..6767a78 100644
--- a/cpukit/librpc/src/rpc/clnt_simple.c
+++ b/cpukit/librpc/src/rpc/clnt_simple.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/clnt_tcp.c b/cpukit/librpc/src/rpc/clnt_tcp.c
index c85531d..b7ccd5a 100644
--- a/cpukit/librpc/src/rpc/clnt_tcp.c
+++ b/cpukit/librpc/src/rpc/clnt_tcp.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/clnt_udp.c b/cpukit/librpc/src/rpc/clnt_udp.c
index e48508b..93befc2 100644
--- a/cpukit/librpc/src/rpc/clnt_udp.c
+++ b/cpukit/librpc/src/rpc/clnt_udp.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/get_myaddress.c b/cpukit/librpc/src/rpc/get_myaddress.c
index 2dae64c..a3410e9 100644
--- a/cpukit/librpc/src/rpc/get_myaddress.c
+++ b/cpukit/librpc/src/rpc/get_myaddress.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/getrpcent.c b/cpukit/librpc/src/rpc/getrpcent.c
index fdd0f88..a980c7d 100644
--- a/cpukit/librpc/src/rpc/getrpcent.c
+++ b/cpukit/librpc/src/rpc/getrpcent.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/getrpcport.c b/cpukit/librpc/src/rpc/getrpcport.c
index f783bac..f1fa5a3 100644
--- a/cpukit/librpc/src/rpc/getrpcport.c
+++ b/cpukit/librpc/src/rpc/getrpcport.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/netname.c b/cpukit/librpc/src/rpc/netname.c
index e75ef73..fd1145c 100644
--- a/cpukit/librpc/src/rpc/netname.c
+++ b/cpukit/librpc/src/rpc/netname.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/netnamer.c b/cpukit/librpc/src/rpc/netnamer.c
index aa9397e..841f6b1 100644
--- a/cpukit/librpc/src/rpc/netnamer.c
+++ b/cpukit/librpc/src/rpc/netnamer.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/pmap_clnt.c b/cpukit/librpc/src/rpc/pmap_clnt.c
index 7c02867..7aab450 100644
--- a/cpukit/librpc/src/rpc/pmap_clnt.c
+++ b/cpukit/librpc/src/rpc/pmap_clnt.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/pmap_getmaps.c b/cpukit/librpc/src/rpc/pmap_getmaps.c
index 78179ff..1645c5d 100644
--- a/cpukit/librpc/src/rpc/pmap_getmaps.c
+++ b/cpukit/librpc/src/rpc/pmap_getmaps.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/pmap_getport.c b/cpukit/librpc/src/rpc/pmap_getport.c
index 9970712..9a28937 100644
--- a/cpukit/librpc/src/rpc/pmap_getport.c
+++ b/cpukit/librpc/src/rpc/pmap_getport.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/pmap_prot.c b/cpukit/librpc/src/rpc/pmap_prot.c
index 30aedce..33b0d0d 100644
--- a/cpukit/librpc/src/rpc/pmap_prot.c
+++ b/cpukit/librpc/src/rpc/pmap_prot.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/pmap_prot2.c b/cpukit/librpc/src/rpc/pmap_prot2.c
index 208c8a4..c61eab5 100644
--- a/cpukit/librpc/src/rpc/pmap_prot2.c
+++ b/cpukit/librpc/src/rpc/pmap_prot2.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/pmap_rmt.c b/cpukit/librpc/src/rpc/pmap_rmt.c
index c7d36b0..5576c87 100644
--- a/cpukit/librpc/src/rpc/pmap_rmt.c
+++ b/cpukit/librpc/src/rpc/pmap_rmt.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/rpc_callmsg.c b/cpukit/librpc/src/rpc/rpc_callmsg.c
index b44ebb4..2d340ba 100644
--- a/cpukit/librpc/src/rpc/rpc_callmsg.c
+++ b/cpukit/librpc/src/rpc/rpc_callmsg.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/rpc_commondata.c b/cpukit/librpc/src/rpc/rpc_commondata.c
index ad22568..cae9d21 100644
--- a/cpukit/librpc/src/rpc/rpc_commondata.c
+++ b/cpukit/librpc/src/rpc/rpc_commondata.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/rpc_dtablesize.c b/cpukit/librpc/src/rpc/rpc_dtablesize.c
index a102acc..d19cc04 100644
--- a/cpukit/librpc/src/rpc/rpc_dtablesize.c
+++ b/cpukit/librpc/src/rpc/rpc_dtablesize.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/rpc_prot.c b/cpukit/librpc/src/rpc/rpc_prot.c
index 0718c9a..ea4787e 100644
--- a/cpukit/librpc/src/rpc/rpc_prot.c
+++ b/cpukit/librpc/src/rpc/rpc_prot.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/rpcdname.c b/cpukit/librpc/src/rpc/rpcdname.c
index 6482a74..2451d63 100644
--- a/cpukit/librpc/src/rpc/rpcdname.c
+++ b/cpukit/librpc/src/rpc/rpcdname.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/rtems-rpc-config.h b/cpukit/librpc/src/rpc/rtems-rpc-config.h
new file mode 100644
index 0000000..9448ab7
--- /dev/null
+++ b/cpukit/librpc/src/rpc/rtems-rpc-config.h
@@ -0,0 +1,40 @@
+/*
+ * Copyright (c) 2018 embedded brains GmbH.  All rights reserved.
+ *
+ *  embedded brains GmbH
+ *  Dornierstr. 4
+ *  82178 Puchheim
+ *  Germany
+ *  <rtems at embedded-brains.de>
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+
+#ifndef _RTEMS_RPC_CONFIG_H_
+#define	_RTEMS_RPC_CONFIG_H_
+
+#define	_RPC_read		read
+#define	_RPC_write		write
+#define	_RPC_close		close
+#define	_RTEMS_RPC_INTERNAL_
+
+#endif /* _RTEMS_RPC_CONFIG_H_ */
diff --git a/cpukit/librpc/src/rpc/rtems_portmapper.c b/cpukit/librpc/src/rpc/rtems_portmapper.c
index 11724c1..8118482 100644
--- a/cpukit/librpc/src/rpc/rtems_portmapper.c
+++ b/cpukit/librpc/src/rpc/rtems_portmapper.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/rtems_rpc.c b/cpukit/librpc/src/rpc/rtems_rpc.c
index b1efb61..91e2b0f 100644
--- a/cpukit/librpc/src/rpc/rtems_rpc.c
+++ b/cpukit/librpc/src/rpc/rtems_rpc.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * RTEMS multi-tasking support
  */
diff --git a/cpukit/librpc/src/rpc/rtime.c b/cpukit/librpc/src/rpc/rtime.c
index af63d5b..4a77084 100644
--- a/cpukit/librpc/src/rpc/rtime.c
+++ b/cpukit/librpc/src/rpc/rtime.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/svc.c b/cpukit/librpc/src/rpc/svc.c
index 64cc964..a1f5769 100644
--- a/cpukit/librpc/src/rpc/svc.c
+++ b/cpukit/librpc/src/rpc/svc.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/svc_auth.c b/cpukit/librpc/src/rpc/svc_auth.c
index b498a9c..0bee517 100644
--- a/cpukit/librpc/src/rpc/svc_auth.c
+++ b/cpukit/librpc/src/rpc/svc_auth.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/svc_auth_unix.c b/cpukit/librpc/src/rpc/svc_auth_unix.c
index ce39599..0dccc47 100644
--- a/cpukit/librpc/src/rpc/svc_auth_unix.c
+++ b/cpukit/librpc/src/rpc/svc_auth_unix.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/svc_raw.c b/cpukit/librpc/src/rpc/svc_raw.c
index 4685370..f3a6f57 100644
--- a/cpukit/librpc/src/rpc/svc_raw.c
+++ b/cpukit/librpc/src/rpc/svc_raw.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/svc_run.c b/cpukit/librpc/src/rpc/svc_run.c
index 963aa0d..fc57fe2 100644
--- a/cpukit/librpc/src/rpc/svc_run.c
+++ b/cpukit/librpc/src/rpc/svc_run.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/svc_simple.c b/cpukit/librpc/src/rpc/svc_simple.c
index 30f213d..9f4b8fd 100644
--- a/cpukit/librpc/src/rpc/svc_simple.c
+++ b/cpukit/librpc/src/rpc/svc_simple.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/svc_tcp.c b/cpukit/librpc/src/rpc/svc_tcp.c
index 0f87080..1827d1f 100644
--- a/cpukit/librpc/src/rpc/svc_tcp.c
+++ b/cpukit/librpc/src/rpc/svc_tcp.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape
diff --git a/cpukit/librpc/src/rpc/svc_udp.c b/cpukit/librpc/src/rpc/svc_udp.c
index bb99f4a..94444c4 100644
--- a/cpukit/librpc/src/rpc/svc_udp.c
+++ b/cpukit/librpc/src/rpc/svc_udp.c
@@ -1,3 +1,5 @@
+#include "rtems-rpc-config.h"
+
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape



More information about the vc mailing list