diff options
author | Nikias Bassen | 2013-07-30 01:23:13 +0200 |
---|---|---|
committer | Nikias Bassen | 2013-07-30 01:23:13 +0200 |
commit | 10939f3ad5755d1117f20df2b97c0cbbd83bbcbe (patch) | |
tree | 0c9e81625a97a96f9c63898964fcff64287a3f9e /libusbmuxd/libusbmuxd.c | |
parent | 9631a38c55acd203c305bb721dbd1a347bf6ce20 (diff) | |
download | usbmuxd-10939f3ad5755d1117f20df2b97c0cbbd83bbcbe.tar.gz usbmuxd-10939f3ad5755d1117f20df2b97c0cbbd83bbcbe.tar.bz2 |
libusbmuxd: use 104 for EBADMSG in win32 and only define it if it's not defined already.
Diffstat (limited to 'libusbmuxd/libusbmuxd.c')
-rw-r--r-- | libusbmuxd/libusbmuxd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libusbmuxd/libusbmuxd.c b/libusbmuxd/libusbmuxd.c index 4a59639..20ac8ab 100644 --- a/libusbmuxd/libusbmuxd.c +++ b/libusbmuxd/libusbmuxd.c @@ -33,7 +33,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA #ifndef EPROTO #define EPROTO 134 #endif -#define EBADMSG 77 +#ifndef EBADMSG +#define EBADMSG 104 +#endif #else #include <sys/socket.h> #include <arpa/inet.h> |