~ubuntu-branches/ubuntu/raring/curl/raring-updates

« back to all changes in this revision

Viewing changes to lib/hostip6.c

  • Committer: Package Import Robot
  • Author(s): Alessandro Ghedini
  • Date: 2011-11-13 21:07:32 UTC
  • mto: (3.6.1 experimental) (1.3.1)
  • mto: This revision was merged to the branch mainline in revision 55.
  • Revision ID: package-import@ubuntu.com-20111113210732-bk5n25x2tu7aplur
Tags: upstream-7.22.0
ImportĀ upstreamĀ versionĀ 7.22.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include "setup.h"
24
24
 
25
 
#include <string.h>
26
 
 
27
25
#ifdef HAVE_SYS_SOCKET_H
28
26
#include <sys/socket.h>
29
27
#endif
36
34
#ifdef HAVE_ARPA_INET_H
37
35
#include <arpa/inet.h>
38
36
#endif
39
 
#ifdef HAVE_STDLIB_H
40
 
#include <stdlib.h>     /* required for free() prototypes */
41
 
#endif
42
37
#ifdef HAVE_UNISTD_H
43
38
#include <unistd.h>     /* for the close() proto */
44
39
#endif
45
40
#ifdef __VMS
46
41
#include <in.h>
47
42
#include <inet.h>
48
 
#include <stdlib.h>
49
43
#endif
50
44
 
51
45
#ifdef HAVE_PROCESS_H
160
154
  }
161
155
}
162
156
#else
163
 
#define dump_addrinfo(x,y)
 
157
#define dump_addrinfo(x,y) Curl_nop_stmt
164
158
#endif
165
159
 
166
160
/*