mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-17 13:00:43 +08:00
Don't use removed rpc headers
This commit is contained in:
parent
00ee369c1c
commit
4e34d5f589
@ -1,3 +1,11 @@
|
|||||||
|
2011-05-05 Andreas Schwab <schwab@redhat.com>
|
||||||
|
|
||||||
|
* resolv/netdb.h: Don't include <rpc/netdb.h>.
|
||||||
|
* nis/Makefile: Don't install rpcsvc/*.
|
||||||
|
* inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
|
||||||
|
instead of <rpc/types.h>.
|
||||||
|
(MAXHOSTNAMELEN): Define.
|
||||||
|
|
||||||
2011-05-03 Andreas Schwab <schwab@redhat.com>
|
2011-05-03 Andreas Schwab <schwab@redhat.com>
|
||||||
|
|
||||||
* elf/ldconfig.c (add_dir): Don't crash on empty path.
|
* elf/ldconfig.c (add_dir): Don't crash on empty path.
|
||||||
|
@ -32,7 +32,8 @@
|
|||||||
#ifndef _PROTOCOLS_TIMED_H
|
#ifndef _PROTOCOLS_TIMED_H
|
||||||
#define _PROTOCOLS_TIMED_H 1
|
#define _PROTOCOLS_TIMED_H 1
|
||||||
|
|
||||||
#include <rpc/types.h>
|
#include <sys/types.h>
|
||||||
|
#include <sys/time.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Time Synchronization Protocol
|
* Time Synchronization Protocol
|
||||||
@ -40,6 +41,7 @@
|
|||||||
|
|
||||||
#define TSPVERSION 1
|
#define TSPVERSION 1
|
||||||
#define ANYADDR NULL
|
#define ANYADDR NULL
|
||||||
|
#define MAXHOSTNAMELEN 64
|
||||||
|
|
||||||
struct tsp {
|
struct tsp {
|
||||||
u_char tsp_type;
|
u_char tsp_type;
|
||||||
|
@ -23,9 +23,9 @@ subdir := nis
|
|||||||
|
|
||||||
aux := nis_hash
|
aux := nis_hash
|
||||||
|
|
||||||
headers := $(wildcard rpcsvc/*.[hx])
|
|
||||||
distribute := nss-nis.h nss-nisplus.h nis_intern.h Banner \
|
distribute := nss-nis.h nss-nisplus.h nis_intern.h Banner \
|
||||||
nisplus-parser.h nis_xdr.h nss
|
nisplus-parser.h nis_xdr.h nss \
|
||||||
|
$(wildcard rpcsvc/*.[hx])
|
||||||
|
|
||||||
# These are the databases available for the nis (and perhaps later nisplus)
|
# These are the databases available for the nis (and perhaps later nisplus)
|
||||||
# service. This must be a superset of the services in nss.
|
# service. This must be a superset of the services in nss.
|
||||||
|
@ -27,11 +27,6 @@
|
|||||||
|
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#ifdef __USE_MISC
|
|
||||||
/* This is necessary to make this include file properly replace the
|
|
||||||
Sun version. */
|
|
||||||
# include <rpc/netdb.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
# define __need_sigevent_t
|
# define __need_sigevent_t
|
||||||
|
Loading…
Reference in New Issue
Block a user