rpc/xdr.h (on FreeBSD) at least requires rpc/types.h. Check for both
headers (and include both headers) whenever including rpc/xdr.h to
ensure that the code will compile on supported platforms.
While this won't affect FreeBSD, this may affect non-standard Linux-based
or Solaris-based platforms, based on FreeBSD's variant of libc (ex:
android's bionic library).
Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>