[shibboleth-sp2] 60/100: Pull in config.h to prevent duplicate rpcent definition.

Ferenc Wágner wferi-guest at moszumanska.debian.org
Tue Jan 26 21:29:18 UTC 2016


This is an automated email from the git hooks/post-receive script.

wferi-guest pushed a commit to annotated tag 1.2.1
in repository shibboleth-sp2.

commit ae405ed591d0bf821decd75d92c0659bc24f58af
Author: Scott Cantor <cantor.2 at osu.edu>
Date:   Wed Oct 20 19:38:17 2004 +0000

    Pull in config.h to prevent duplicate rpcent definition.
---
 oncrpc/getrpcen.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/oncrpc/getrpcen.c b/oncrpc/getrpcen.c
index 8b38bcd..503733d 100644
--- a/oncrpc/getrpcen.c
+++ b/oncrpc/getrpcen.c
@@ -55,6 +55,18 @@ static  char sccsid[] = "@(#)getrpcent.c 1.9 87/08/11  Copyr 1984 Sun Micro";
 #include <sys/socket.h>
 #endif
 
+// eventually we might be able to support autoconf via cygwin...
+#if defined (_MSC_VER) || defined(__BORLANDC__)
+# include "config_win32.h"
+#else
+# include "config.h"
+#endif
+
+#ifndef HAVE_STRUCT_RPCENT
+/* routines for parsing /etc/rpc */
+#include <rpc/netdb.h>		/* structures and routines to parse /etc/rpc */
+#endif
+
 /*
  * Internet version.
  */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/shibboleth-sp2.git



More information about the Pkg-shibboleth-devel mailing list