aboutsummaryrefslogtreecommitdiff
path: root/slirp
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-14 18:04:52 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-14 18:04:52 +0000
commit61dca5aa65bcd09222599dd22c4ef8d731cbc629 (patch)
tree0f7554657fe6dbba86b74137199ce96d372050dd /slirp
parentdb34f0b32f8d9ab12fe5899f5ba684b8eb1e656e (diff)
Fix _P use on OpenBSD
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6298 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'slirp')
-rw-r--r--slirp/slirp.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/slirp/slirp.h b/slirp/slirp.h
index d57fb12363..6f8a7f6022 100644
--- a/slirp/slirp.h
+++ b/slirp/slirp.h
@@ -120,13 +120,12 @@ typedef unsigned char u_int8_t;
#include <sys/uio.h>
#endif
-#ifndef _P
+#undef _P
#ifndef NO_PROTOTYPES
# define _P(x) x
#else
# define _P(x) ()
#endif
-#endif
#ifndef _WIN32
#include <netinet/in.h>