Changeset 2619


Ignore:
Timestamp:
Aug 4, 2007, 2:55:06 AM (15 years ago)
Author:
charles
Message:

sync joshe's changes with win32

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/cli/transmissioncli.c

    r2618 r2619  
    4040    #include <windows.h>
    4141    #define wait_msecs(N)  Sleep( (N) )
    42     #define wait_secs(N)   Sleep( N) * 1000 )
     42    #define wait_secs(N)   Sleep( (N) * 1000 )
    4343#else
    4444    #define wait_msecs(N)  usleep( (N) * 1000 )
  • trunk/libtransmission/natpmp.c

    r2614 r2619  
    2525#include <assert.h>
    2626#include <errno.h>
    27 #include <netdb.h>
    2827#include <stdlib.h>
    2928#include <string.h>
    3029#include <time.h>
     30
     31#ifdef __BEOS__
     32    #include <netdb.h>
     33#endif
    3134
    3235#include <sys/types.h>
  • trunk/libtransmission/upnp.c

    r2614 r2619  
    2626#include <errno.h>
    2727#include <limits.h>
    28 #include <netdb.h>
    2928#include <stdarg.h>
    3029#include <stdio.h>
     
    3231#include <string.h>
    3332#include <time.h>
     33
     34#ifdef __BEOS__
     35    #include <netdb.h>
     36#endif
    3437
    3538#include <sys/types.h>
Note: See TracChangeset for help on using the changeset viewer.