~ubuntu-branches/ubuntu/precise/curl/precise-proposed

« back to all changes in this revision

Viewing changes to lib/gopher.c

  • Committer: Package Import Robot
  • Author(s): Timo Aaltonen
  • Date: 2011-11-25 17:30:45 UTC
  • mfrom: (3.4.23 sid)
  • Revision ID: package-import@ubuntu.com-20111125173045-2l3ni88jv16kath0
Tags: 7.22.0-3ubuntu1
* Merge from Debian unstable, remaining changes:
  - Drop dependencies not in main:
    + Build-Depends: Drop stunnel4 and libssh2-1-dev.
    + Drop libssh2-1-dev from libcurl4-openssl-dev's Depends.
  - Add new libcurl3-udeb package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
#ifndef CURL_DISABLE_GOPHER
26
26
 
27
 
/* -- WIN32 approved -- */
28
 
#include <stdio.h>
29
 
#include <string.h>
30
 
#include <stdarg.h>
31
 
#include <stdlib.h>
32
 
#include <ctype.h>
33
 
 
34
 
#ifdef WIN32
35
 
#include <time.h>
36
 
#include <io.h>
37
 
#else
38
27
#ifdef HAVE_SYS_SOCKET_H
39
28
#include <sys/socket.h>
40
29
#endif
 
30
#ifdef HAVE_NETINET_IN_H
41
31
#include <netinet/in.h>
42
 
#ifdef HAVE_SYS_TIME_H
43
 
#include <sys/time.h>
44
32
#endif
45
33
#ifdef HAVE_UNISTD_H
46
34
#include <unistd.h>
47
35
#endif
 
36
#ifdef HAVE_NETDB_H
48
37
#include <netdb.h>
 
38
#endif
49
39
#ifdef HAVE_ARPA_INET_H
50
40
#include <arpa/inet.h>
51
41
#endif
64
54
#include <sys/select.h>
65
55
#endif
66
56
 
67
 
 
68
 
#endif
69
 
 
70
57
#include "urldata.h"
71
58
#include <curl/curl.h>
72
59
#include "transfer.h"