More fallout from gets removal

This commit is contained in:
Ulrich Drepper 2011-12-27 09:57:25 -05:00
parent 16578fa7b3
commit 8ea79a616e

View file

@ -33,6 +33,12 @@
#include <sys/socket.h>
#include <sys/un.h>
__BEGIN_DECLS
/* The <stdio.h> header does not include the declaration for gets
anymore when compiling with _GNU_SOURCE. Provide a copy here. */
extern char *gets (char *__s);
__END_DECLS
#define obstack_chunk_alloc malloc
#define obstack_chunk_free free