From 7d3505c55aae54c9610e8be1ff476ec8849c98e6 Mon Sep 17 00:00:00 2001 From: bellard Date: Wed, 12 May 2004 19:32:15 +0000 Subject: bsd port (Markus Niemisto) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@800 c046a42c-6fe2-441c-8c8c-71466251a162 --- gdbstub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdbstub.c') diff --git a/gdbstub.c b/gdbstub.c index 3560b269b9..19623102de 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -532,7 +532,7 @@ static void gdb_accept(void *opaque, const uint8_t *buf, int size) /* set short latency */ val = 1; - setsockopt(fd, SOL_TCP, TCP_NODELAY, &val, sizeof(val)); + setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &val, sizeof(val)); s = qemu_mallocz(sizeof(GDBState)); if (!s) { -- cgit v1.2.3