aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-vx.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-vx.c')
-rw-r--r--gdb/remote-vx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/remote-vx.c b/gdb/remote-vx.c
index a47ed35..3ba3b88 100644
--- a/gdb/remote-vx.c
+++ b/gdb/remote-vx.c
@@ -35,8 +35,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <sys/types.h>
#include <sys/time.h>
#include <sys/socket.h>
+#define malloc bogon_malloc /* Sun claims "char *malloc()" not void * */
#define free bogon_free /* Sun claims "int free()" not void */
#include <rpc/rpc.h>
+#undef malloc
#undef free
#include <sys/time.h> /* UTek's <rpc/rpc.h> doesn't #incl this */
#include <netdb.h>