mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
* inet/getnetent_r.c: Define NEED_H_ERRNO.
* inet/getnetbynm_r.c: Likewise. * inet/getnetent.c: Likewise. * inet/getnetbyad_r.c: Likewise. * inet/getnetbyad.c: Likewise. * inet/getnetbynm.c: Likewise. * sysdeps/generic/pselect.c: Include <sys/time.h>. * misc/sys/select.h: Include <time.h> instead of <sys/time.h> for `struct timespec'.
This commit is contained in:
@ -59,6 +59,9 @@ void free ();
|
||||
#endif
|
||||
|
||||
#if defined HAVE_STRING_H || defined _LIBC
|
||||
# ifndef _GNU_SOURCE
|
||||
# define _GNU_SOURCE 1
|
||||
# endif
|
||||
# include <string.h>
|
||||
#else
|
||||
# include <strings.h>
|
||||
@ -221,7 +224,7 @@ DCGETTEXT (domainname, msgid, category)
|
||||
int category;
|
||||
{
|
||||
#ifndef HAVE_ALLOCA
|
||||
struct block_list *alloca_list = NULL;
|
||||
struct block_list *block_list = NULL;
|
||||
#endif
|
||||
struct loaded_l10nfile *domain;
|
||||
struct binding *binding;
|
||||
|
Reference in New Issue
Block a user