Minor sunrpc problem

Cary R. cygcary@yahoo.com
Thu Nov 1 20:59:00 GMT 2007

On my Linux machine the rpc/xdr.h header file includes rpc/types.h and the
cygwin version does not. This results in configure scripts not being able
to verify that rpc/xdr.h is a valid file. Applying the following patch
makes this work as expected.

--- xdr.h.orig	2005-03-10 13:32:52.001000000 -0800
+++ xdr.h	2007-11-01 13:32:57.796875000 -0700
@@ -38,6 +38,8 @@
 #ifndef __XDR_HEADER__
 #define __XDR_HEADER__
+#include <rpc/types.h>
  * XDR provides a conventional way for converting between C data
  * types and an external bit-string representation.  Library supplied


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

More information about the Cygwin mailing list