Commit 61dca5aa65bcd09222599dd22c4ef8d731cbc629
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 | 120 | #include <sys/uio.h> |
| 121 | 121 | #endif |
| 122 | 122 | |
| 123 | -#ifndef _P | |
| 123 | +#undef _P | |
| 124 | 124 | #ifndef NO_PROTOTYPES |
| 125 | 125 | # define _P(x) x |
| 126 | 126 | #else |
| 127 | 127 | # define _P(x) () |
| 128 | 128 | #endif |
| 129 | -#endif | |
| 130 | 129 | |
| 131 | 130 | #ifndef _WIN32 |
| 132 | 131 | #include <netinet/in.h> | ... | ... |