mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
from p3: remote-vx.c: hide name realloc for inclusion of rpc/rpc.h
This commit is contained in:
parent
73386fffdb
commit
b67903acf6
@ -37,9 +37,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
#include <sys/socket.h>
|
||||
#define malloc bogon_malloc /* Sun claims "char *malloc()" not void * */
|
||||
#define free bogon_free /* Sun claims "int free()" not void */
|
||||
#define realloc bogon_realloc /* Sun claims "char *realloc()", not void * */
|
||||
#include <rpc/rpc.h>
|
||||
#undef malloc
|
||||
#undef free
|
||||
#undef realloc
|
||||
#include <sys/time.h> /* UTek's <rpc/rpc.h> doesn't #incl this */
|
||||
#include <netdb.h>
|
||||
#include "vx-share/ptrace.h"
|
||||
|
Loading…
Reference in New Issue
Block a user