From: blueswir1 Date: Wed, 14 Jan 2009 18:04:52 +0000 (+0000) Subject: Fix _P use on OpenBSD X-Git-Tag: stefano.display-merge-end~143 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=61dca5aa65bcd09222599dd22c4ef8d731cbc629;p=qemu-xen-4.3-testing.git Fix _P use on OpenBSD git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6298 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/slirp/slirp.h b/slirp/slirp.h index d57fb1236..6f8a7f602 100644 --- a/slirp/slirp.h +++ b/slirp/slirp.h @@ -120,13 +120,12 @@ typedef unsigned char u_int8_t; #include #endif -#ifndef _P +#undef _P #ifndef NO_PROTOTYPES # define _P(x) x #else # define _P(x) () #endif -#endif #ifndef _WIN32 #include