Ignore:
Timestamp:
Jan 10, 2008, 7:27:13 PM (14 years ago)
Author:
charles
Message:

mingw portability fixes: #includes in natpmp.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/natpmp.c

    r4548 r4599  
    1717#include <string.h> /* strerror */
    1818
    19 #include <sys/types.h>
    20 #include <sys/socket.h>
    21 #include <netinet/in.h>
    22 #include <arpa/inet.h>
     19#ifdef WIN32
     20#include <winsock2.h> /* inet_ntoa */
     21#else
     22#include <arpa/inet.h> /* inet_ntoa */
     23#endif
    2324
    2425#include <libnatpmp/natpmp.h>
Note: See TracChangeset for help on using the changeset viewer.