Revision eaa53b95 libavformat/os_support.c

View differences:

libavformat/os_support.c
36 36
#endif
37 37
#include <time.h>
38 38

  
39
#include <stdlib.h>
40
#include <strings.h>
41
#include "barpainet.h"
42

  
43 39
/**
44 40
 * gets the current time in micro seconds.
45 41
 */
......
71 67
}
72 68
#endif /* !defined(CONFIG_WINCE) && !defined(HAVE_LOCALTIME_R) */
73 69

  
74
#if !defined(HAVE_INET_ATON)
70
#if !defined(HAVE_INET_ATON) && defined(CONFIG_NETWORK)
71
#include <stdlib.h>
72
#include <strings.h>
73
#include "barpainet.h"
74

  
75 75
int inet_aton (const char * str, struct in_addr * add)
76 76
{
77 77
    const char * pch = str;
......
93 93

  
94 94
    return 1;
95 95
}
96
#endif /* !defined HAVE_INET_ATON */
96
#endif /* !defined(HAVE_INET_ATON) && defined(CONFIG_NETWORK) */

Also available in: Unified diff