Commit 61dca5aa65bcd09222599dd22c4ef8d731cbc629

Authored by blueswir1
1 parent db34f0b3

Fix _P use on OpenBSD

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6298 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 2 deletions
slirp/slirp.h
@@ -120,13 +120,12 @@ typedef unsigned char u_int8_t; @@ -120,13 +120,12 @@ typedef unsigned char u_int8_t;
120 #include <sys/uio.h> 120 #include <sys/uio.h>
121 #endif 121 #endif
122 122
123 -#ifndef _P 123 +#undef _P
124 #ifndef NO_PROTOTYPES 124 #ifndef NO_PROTOTYPES
125 # define _P(x) x 125 # define _P(x) x
126 #else 126 #else
127 # define _P(x) () 127 # define _P(x) ()
128 #endif 128 #endif
129 -#endif  
130 129
131 #ifndef _WIN32 130 #ifndef _WIN32
132 #include <netinet/in.h> 131 #include <netinet/in.h>