[PATCH] Fix rpc/ headers with -std=c[89]9

Ulrich Drepper drepper@redhat.com
Wed May 30 05:56:00 GMT 2001


Jakub Jelinek <jakub@redhat.com> writes:

> rpc/ headers use some types which are only defined with __USE_BSD, so
> including a rpc/ header in -std=c[89]9 or -ansi compilation fails.
> Below are two approaches, [...]

I prefer the second one and have applied the patch.  Thanks,

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



More information about the Libc-hacker mailing list