Revision a1629e28 libavformat/os_support.h

View differences:

libavformat/os_support.h
45 45
    return 0;
46 46
}
47 47

  
48
#ifdef __BEOS__
49
#  include <sys/socket.h>
50
#  include <netinet/in.h>
51
   /* not net_server ? */
52
#  include <BeBuild.h>
53
   /* R5 didn't have usleep, fake it. Haiku and Zeta has it now. */
54
#  if B_BEOS_VERSION <= B_BEOS_VERSION_5
55
#    include <OS.h>
56
     /* doesn't set errno but that's enough */
57
#    define usleep(t)  snooze((bigtime_t)(t))
58
#  endif
59
#  ifndef SA_RESTART
60
#    warning SA_RESTART not implemented; ffserver might misbehave.
61
#    define SA_RESTART 0
62
#  endif
63
#endif
64

  
65 48
#if CONFIG_NETWORK
66 49
#if !HAVE_SOCKLEN_T
67 50
typedef int socklen_t;

Also available in: Unified diff